Граф коммитов

229 Коммитов

Автор SHA1 Сообщение Дата
Sebastien Pouliot eeb1d10713 [metalkit] Add new API from both beta 1 and beta 2 (#383) 2016-07-12 23:10:55 -04:00
Vincent Dondain dd79e15f3b [monotouch-test] Fix permissions in Info.plist (#388) 2016-07-12 20:34:49 -04:00
Sebastien Pouliot d6e00781eb [tests] Fix introspection tests running on an iOS 9.3 device (#380) 2016-07-12 09:46:41 -04:00
Sebastien Pouliot 7c6181dc66 [tests] Fix UIColor unit tests (in classic only) (#366)
Does not affect the Jenkins bots (which don't run classic tests) but
fails on wrench (who still runs them right now). There's a difference
in how equality is checked between classic and unified and that expose
a, not really important, change in iOS10.
2016-07-08 16:54:24 -04:00
Chris Hamons cbd334ffc7 [XM] Teach ApiSelectorTest about NSCopying NSCoding additions in 10.12 2016-07-08 11:33:41 -05:00
Chris Hamons 55eb0c8537 Fix bindings to pass introspection tests on 10.12 Xcode 8b1 (#353) 2016-07-08 09:09:10 -05:00
Vincent Dondain 839258d337 [gamekit] Update for iOS 10 beta1 (#354) 2016-07-08 08:44:44 -04:00
Sebastien Pouliot afb3ea1e3f Bump Xcode version to beta 2 (#349)
Fix issues with monotouch-tests with beta2

* TLSMaximumSupportedProtocol returns Unknown, which also means default,
  instead of SslProtocol.Tls_1_2

* Setting NSZone.Name crash the app

* The MDLMesh tests are broken in a different way than beta1

* [callkit] Disable CTCallCenter default ctor as it breaks introspection

> [FAIL] Default constructor not allowed for CoreTelephony.CTCallCenter : SIGILL

The exception, that we catch, puts the process in an unstable state.

This cause weird results and crash later (wrong dispatch queue on main
thread) when testing MapKit.

Crashed Thread:        0  tid_a07  Dispatch queue: CTCallCenter

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000004
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x4:
-->
    __TEXT                 0000000000097000-00000000004d2000 [ 4332K] r-x/rwx SM=COW  /Users/USER/Library/Developer/CoreSimulator/Devices/9446B344-62A2-42A8-A8EE-9FE7AC6BA5C8/data/Containers/Bundle/Application/81183608-DADF-4226-B7FE-4B43759D679A/introspection.app/introspection

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: dispatch_barrier_sync called on queue already owned by current thread
abort() called
CoreSimulator 278 - Device: iPhone 5 - Runtime: iOS 10.0 (14A5297c) - DeviceType: iPhone 5

Some beta2 adjustments (removals) to get green tests and be able to merge it so bindings of beta2 can start

* [tests] NEFlowMetaData conformance to NSSecureCoding and NSCopying is new in beta2 (and check fails on OSX 10.11)

* [uikit] Add [UIScrollView|UITableViewController].refreshControl to fix monotouch-test build

UIRefreshControlHosting was removed in beta2 but we still need the
refreshControl property on UIScrollView and UITableViewController
to build monotouch-test
2016-07-07 13:10:24 -04:00
Sebastien Pouliot cd35ba77ac [photos] Update for iOS 10 beta 1 (#348)
Also enable photos.framework on tvOS and macOS - but minimal (no tests failure) support for macOS 10.12. This does not include any macOS specific API
2016-07-06 23:24:31 -04:00
Sebastien Pouliot 88bccb268d [tests] Change location to download mlaunch, old one is not available anymore (#352) 2016-07-06 17:04:08 -04:00
Sebastien Pouliot d8c113db09 [glkit] Small update for iOS 10 beta 1 (#351)
Note: new API in beta1 are also only available on macOS 10.12 (not identified as such in the header files)
2016-07-06 11:19:21 -04:00
Vincent Dondain c8c27a01b2 [coretext] Update for iOS 10 beta1 (#346) 2016-07-05 16:49:59 -04:00
Sebastien Pouliot 5388f5d02f [coregraphics] Added new CGColorSpace API from iOS 10 beta 1 (#337)
Also updated unit tests.
2016-07-04 21:57:30 -04:00
Sebastien Pouliot f773ee27fb [wkwebkit] Update for iOS 10 beta 1 (#345)
Also adjust introspection tests for the new NSSecureCoding
conformance of some existing types.
2016-07-04 20:46:57 -04:00
Alex Soto 046a3fad30 [UserNotifications] Add UserNotifications framework xcode 8 beta 1 2016-07-04 14:39:45 -05:00
Alex Soto 42b6cf57f1 [DictionaryContainer] Add support for CGRect/CGPoint/CGSize and CMTime
* Added support in DictionaryContainer for CGRect/CGPoint/CGSize and CMTime
* Added support for [StrongDictionary] using CGRect/CGPoint/CGSize and CMTime
* Added tests using DictionaryContainers for CGRect/CGPoint/CGSize and CMTime
2016-07-03 11:11:06 -05:00
Timothy Risi aaa5b7bd09 Xcode8 AppKit bindings (#243) 2016-07-01 17:29:40 -04:00
Vincent Dondain 5be3587db5 [homekit] Update for iOS 10 beta 1 (#324) 2016-06-30 08:31:40 -04:00
Sebastien Pouliot 8b5a06df3d [coregraphics] Re-enable CGColorConverterCreateSimple API and tests (#325)
This was added in iOS 9.3 SDK but only worked on the simulator as the
calls were not present on the device libraries.

This is fixed in iOS 10 beta 1.

https://trello.com/c/Rwko9Wef/37-24734681-cgcolorconvertercreatesimple-is-missing-for-device-builds
2016-06-29 20:03:06 -04:00
Rolf Bjarne Kvinge 1bc24751d0 [monotouch-test] Fix watchOS build. (#317) 2016-06-29 06:28:30 -07:00
Rolf Bjarne Kvinge 7e773080a9 Merge remote-tracking branch 'origin/master' into xcode8 2016-06-29 10:23:03 +02:00
Rolf Bjarne Kvinge a66fdf2738 [tests] Skip MSBuild device tests when device builds are disabled. 2016-06-29 00:06:39 +02:00
Rolf Bjarne Kvinge dff594bb5a [xharness] Add the XI MSBuild tests to the jenkins test run. 2016-06-29 00:06:35 +02:00
Rolf Bjarne Kvinge d91258fb32 [xharness] Simplify non-grouped tasks in the html report a little bit. 2016-06-29 00:06:31 +02:00
Rolf Bjarne Kvinge 38af4434e0 Merge pull request #256 from rolfbjarne/jenkins-ios-msbuild
[xharness] Add the XI MSBuild tests to the jenkins test run.
2016-06-28 15:05:25 -07:00
Rolf Bjarne Kvinge 464aab3789 [monotouch-test] Fix ContactStoreTest.GetUnifiedContacts to not completely ignore the second half of the test. (#307) 2016-06-28 15:04:36 -07:00
Rolf Bjarne Kvinge 5b3fcd002f [monotouch-test] Fix ContactStoreTest for watchOS. (#306) 2016-06-28 15:00:53 -07:00
Rolf Bjarne Kvinge fb607bef03 [xharness] Rename variable to fix compiler warning. (#308)
Fixes this warning:

    SimpleHttpListener.cs(12,8): warning CS0108: `xharness.SimpleHttpListener.connected' hides inherited member `xharness.SimpleListener.connected'. Use the new keyword if hiding was intended
2016-06-28 17:13:36 -04:00
Sebastien Pouliot e3ac382fc7 [corevideo] Small update for iOS 10 beta 1 (#280)
* [corevideo] Small update for iOS 10 beta 1

and tests for 4CC to enums conversion
2016-06-28 16:25:24 -04:00
Rolf Bjarne Kvinge cc8a1bd07b [xharness] Fix boolean logic for skipping simulator setup. (#305) 2016-06-28 13:34:29 -04:00
Rolf Bjarne Kvinge d3b8de52d6 [monotouch-test] Try to fix UrlSessionTest.CreateDataTaskAsync by uploading using POST. (#304)
Also use https instead of http to avoid a network roundtrip
(since http://www.xamarin.com just redirects to https).

This will hopefully fix this random test failure:

    [FAIL] UrlSessionTest.CreateDataTaskAsync : CreateUploadTask a
2016-06-28 13:33:59 -04:00
Rolf Bjarne Kvinge 5a70dc4ff9 [tests] Skip MSBuild device tests when device builds are disabled. 2016-06-28 18:53:27 +02:00
Rolf Bjarne Kvinge 60e92b083d Merge pull request #293 from rolfbjarne/xcode8-merge-master
Merge remote-tracking branch 'origin/master' into xcode8
2016-06-28 08:45:57 -07:00
Rolf Bjarne Kvinge 77954eac92 [tests] Update the F# watchos runner to match the C# version. (#300) 2016-06-28 08:20:44 -07:00
Rolf Bjarne Kvinge d32b7746c5 [xharness] Protect against duplicated connected/finished notifications. (#301) 2016-06-28 08:20:07 -07:00
Sebastien Pouliot d824ac9396 [watchconnectivity] Small update for iOS 10 beta 1 (#290)
WCSessionDelegate members added in iOS 9.3 were turned into **required**
members in iOS 10 (beta 1). That's a breaking change so it's only enabled
for XAMCORE_4_0
2016-06-28 11:19:45 -04:00
Rolf Bjarne Kvinge 67cf4c1ccd [monotouch-test] Update ModelIO tests to use Xcode versioning. 2016-06-28 16:34:10 +02:00
Rolf Bjarne Kvinge 055477225f [tests] Implement version check for Xcode 8. 2016-06-28 16:19:42 +02:00
Rolf Bjarne Kvinge 63c6ae06dd [xharness] Add the XI MSBuild tests to the jenkins test run. 2016-06-28 16:05:48 +02:00
Rolf Bjarne Kvinge c4591f44d2 [xharness] Simplify non-grouped tasks in the html report a little bit. 2016-06-28 16:05:27 +02:00
Rolf Bjarne Kvinge 3bf7b92d88 [xharness] Give permissions to watchkit apps as well. (#296)
* [xharness] Only execute sqlite3 once.

* [xharness] Give permissions to watchkit apps as well.
2016-06-28 07:04:10 -07:00
Rolf Bjarne Kvinge 0d2d6e36b1 [xharness] Don't prepare simulator for tests that didn't build. (#297) 2016-06-28 07:03:40 -07:00
Rolf Bjarne Kvinge 507d2ace4a [tests] Fix build failure for the introspection tests due to API change in master. 2016-06-28 13:52:19 +02:00
Rolf Bjarne Kvinge 613fb2118c [jenkins] Skip mmptest to see if it'll speed up the test run on jenkins. (#248) 2016-06-28 13:05:00 +02:00
Rolf Bjarne Kvinge 455c741820 [xharness] Try to bump the launch timeout to 3 minutes. 2016-06-28 13:04:56 +02:00
Rolf Bjarne Kvinge 85d94face2 [xharness] Improve logging.
Make sure as much as possible is written to the logs, and not stdout.

Also copy an extra 1024 bytes when fetching the system log (and continue
capturing a while after stopped, since there may be unflushed system log
data in memory).
2016-06-28 13:04:52 +02:00
Rolf Bjarne Kvinge c355cf91be [xharness] Refactor how we do simulator configuration.
Split out the code to prepare the simulator from the AppRunner class,
which is now just handling the logic required for each test run.

This way it's easier to handle simulator preparation for multiple
test runs with the same simulator.

Also revamp logging to avoid printing directly to the console, but
instead use the logging classes that permit redirecting logging
to a file. This makes the html report show better logging.
2016-06-28 13:04:47 +02:00
Rolf Bjarne Kvinge 61485522d4 [xharness] Always setup/cleanup tvOS test runs.
Something strange is going on on the bots where only the first tvOS
test run actually launches the test app successfully.
2016-06-28 13:04:41 +02:00
Rolf Bjarne Kvinge a59a762e84 [xharness] Download mlaunch if we don't have a local copy. 2016-06-28 13:04:10 +02:00
Rolf Bjarne Kvinge 1e6be7f547 [xharness] Add a few more variables to control what to include in a test run. 2016-06-28 13:02:21 +02:00