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

5647 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 4b60767598 [introspection] Update protocol test for watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 5cbc9ca2fe [introspection] Verify that variadic methods aren't public API. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge ef55c7774f [introspection tests] Ignore typo checker on watchOS, there's no API available for it. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge f0b709b8bf [introspection tests] Do version checks using Xcode version instead of specific platform versions. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge f35e8b8b35 [tests] Add introspection-ios to tests.sln 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge e2c2dc1061 [monotouch-test] Move version-checking code to a shared file. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 833ea3fc8b [xharness] Fix name of referenced projects. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 7714d7a1cf [bindings-framework-test] Remove unused define. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge d9610117a1 [monotouch-test] Ignore NSDataTest.Https on watchOS devices, the API doesn't work. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 343502ef52 [monotouch-test] Disable RuntimeTest.FinalizationRaceCondition/ResurrectedObjectsDisposedTest on watchOS/device, they use too much memory for the device. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge d8b4fff4e3 [monotouch-test] Disable test that uses TcpClient on watchOS, since TcpClient doesn't work on watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 8a4178b141 [monotouch-test] Fix registrar/trampoline tests according to watchOS ABI. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 26b1c27b81 [monotouch-test] Disable NSUbiquitousKeyValueStore test, since it doesn't work on watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge df640e61cd [monotouch-test] Disable test that uses TcpListener, since TcpListener doesn't work on watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge d06100b952 [tests] Add some diagnostics to the watchOS test runner. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge d3ab94666f [tests] Avoid running more than once simultaneously. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge e0e5824ce2 [monotouch-test] Set a timeout for UrlSessionTest so that the requests time out before the test itself. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge e623d92046 [tests] Improve the watchOS test runner a little bit. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 43da4642f1 [monotouch-test] Implement a non-GUI version of TestRuntime.RunAsync that works on watchOS. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge b4bb30c13c [monotouch-test] Adjust tests according to watchOS behavior. 2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 0a8c6e3342 [tests] Check versions using Xcode version instead of platform version.
This is required to match API to the required platform version,
since our platforms have different version numbers.
2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge 714165c65e Add generator project to the Xamarin.iOS solution. 2016-06-27 13:07:37 +02:00
Sebastien Pouliot 795596ecb7 [contacts] Small update for iOS 10 beta 1 (#278)
* [uikit] Fix new UICollectionViewDataSourcePrefetching and UIContentSizeCategoryAdjusting protocols

The two later failure reports (references) were not prefixed with [FAIL]
so they were filtered out by in the bot results.

references:
	[FAIL] iOSApiProtocolTest.ApiProtocolTest.GeneralCase : 2 types do not really conform to the protocol interfaces
[FAIL] Could not load UIKit.UICollectionViewDataSourcePrefetching
[FAIL] Could not load UIKit.UIContentSizeCategoryAdjusting

* [contacts] Small update for iOS 10 beta 1
2016-06-26 10:05:05 -04:00
Sebastien Pouliot 35c376a374 [gamecontroller] Update for iOS 10 beta 1 (#276)
The API for the AppleTV controller was added to iOS 10
2016-06-26 10:04:55 -04:00
Sebastien Pouliot 0ec3263eab [quicklook] Add new bindings for iOS 10 beta 1 (#272)
Also fixed QLPreviewItem::previewItemTitle (not required) for XAMCORE_4_0

reference:
!incorrect-protocol-member! QLPreviewItem::previewItemTitle is OPTIONAL and should NOT be abstract
2016-06-26 10:04:20 -04:00
Sebastien Pouliot dde6a06fcd [uikit] Fix new UICollectionViewDataSourcePrefetching and UIContentSizeCategoryAdjusting protocols (#277)
The two later failure reports (references) were not prefixed with [FAIL]
so they were filtered out by in the bot results.

references:
	[FAIL] iOSApiProtocolTest.ApiProtocolTest.GeneralCase : 2 types do not really conform to the protocol interfaces
[FAIL] Could not load UIKit.UICollectionViewDataSourcePrefetching
[FAIL] Could not load UIKit.UIContentSizeCategoryAdjusting
2016-06-25 12:43:36 -04:00
Miguel de Icaza 35e17d7d97 Merge pull request #237 from migueldeicaza/xcode8-uikit
Xcode8 uikit
2016-06-24 21:54:28 -04:00
Sebastien Pouliot 67c2c8bee8 [eventkit] Small update for iOS 10 beta 1 (#273) 2016-06-24 20:10:35 -04:00
Sebastien Pouliot 3abd37d0e3 [externalaccessory] Small update for iOS 10 beta 1 (#274)
reference:
!extra-designated-initializer! EAWiFiUnconfiguredAccessoryBrowser::initWithDelegate:queue: is incorrectly decorated with an [DesignatedInitializer] attribute
2016-06-24 20:10:06 -04:00
Alex Soto 49ebc78bd5 [CloudKit] Fix bugs 42125 and 42163, a couple of missing NullAlloweds (#275)
https://bugzilla.xamarin.com/show_bug.cgi?id=42163
https://bugzilla.xamarin.com/show_bug.cgi?id=42125
2016-06-24 20:08:19 -04:00
Rolf Bjarne Kvinge 06821f5cc7 Add a nuget config file to ensure we have a valid feed. (#271)
This will hopefully fix a random build problem on some machines:

[5:14:32] cat ~/.config/NuGet/NuGet.Config || true
[5:14:32] <?xml version="1.0" encoding="utf-8"?>
[5:14:32] <configuration>
[5:14:32]   <packageSources>
[5:14:32]     <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
[5:14:32]   </packageSources>
[5:14:32] </configuration>
[5:14:32] Targets files are valid XML
[5:14:33] Installing 'NUnit.Runners 2.6.4'.
[5:14:33] Installing 'NUnit 2.6.4'.
[5:14:33] Installing 'Newtonsoft.Json 6.0.8'.
[5:14:33] Successfully installed 'NUnit 2.6.4'.
[5:14:33] Successfully installed 'Newtonsoft.Json 6.0.8'.
[5:14:33] Successfully installed 'NUnit.Runners 2.6.4'.
[5:14:33] Unable to find version '0.9.5' of package 'Mono.Cecil'.
2016-06-24 11:13:07 -07:00
Sebastien Pouliot 278b760983 [replaykit] Add new bindings for iOS 10 beta 1 (#270) 2016-06-24 12:18:04 -04:00
Rolf Bjarne Kvinge 3d4a5075cb [mtouch tests] Ignore tests that are testing mlaunch behaviour. (#266) 2016-06-24 01:04:03 -07:00
Rolf Bjarne Kvinge 278550795e [xharness] Fix simulator validation check to not fail when it shouldn't. (#265) 2016-06-24 01:03:36 -07:00
Sebastien Pouliot 56d35304fd [coreimage] Add new API from iOS 10 beta 1 (#263)
* CIRAWFilter support is new in iOS 10 but was, mostly, already supported on OSX, however
the API were not bound.
2016-06-23 21:07:03 -04:00
Sebastien Pouliot 7b7bb6722e [tests] Remove duplicated files (#269)
Introspection test files are now all under /tests/introspection/
2016-06-23 18:16:31 -04:00
Timothy Risi c94d0e7b70 Merge branch 'master' into xcode8 2016-06-23 10:45:09 -08:00
Sebastien Pouliot 50381a8e7b [tvos] Fix introspection tests for tvOS (#267)
Wrong check for version

[FAIL] Default constructor not allowed for CoreLocation.CLCircularRegion : Can only check iOS system version on iOS.
[FAIL] Default constructor not allowed for AVFoundation.AVAudioSessionDataSourceDescription : Can only check iOS system version on iOS.
[FAIL] Default constructor not allowed for AVFoundation.AVAudioSessionPortDescription : Can only check iOS system version on iOS.

and a change in tvOS 10 SDK

[FAIL] Selector not found for TVMLKit.TVViewElement : setDisabled:
2016-06-23 14:38:43 -04:00
Rolf Bjarne Kvinge ba7cddc34e [msbuild] Add nuget diagnostics. (#255)
* [msbuild] Add nuget diagnostics.

* [msbuild] Make restore less verbose.

To see if that's what's causing an infinite newline print loop on jenkins bots.

* [msbuild] nuget can't list sources on jenkins for some reason, so just do it manually.

* [msbuild] Make sure diagnostics doesn't fail the build.
2016-06-23 06:22:21 -07:00
Vincent Dondain ca718991df [introspection] Fix bindings so the tests pass (#254)
- Added missing NSCopying, NSCoding and NSSecureCoding.
- Filled radar://26939747 with Apple - https://trello.com/c/6aIzLH4a
2016-06-22 17:32:00 -04:00
Sebastien Pouliot 004fe2f8d8 [tests][monotouch] More adjustments for iOS10 related failures/changes (#239)
* [tests][monotouch] More adjustments for iOS10 related failures/changes

- some might be Apple bugs and need to be reverted later

* Fix more failures on monotouch-tests wrt iOS 10

* MutableContactTest.cs: Wrong assert was changed (which is why each one
  needs it's own unique string)

* TrustTest.cs: Fixed as results vary on < iOS9, iOS9 and iOS10

* NetworkReachabilityTest.cs: Fixed as results vary on < iOS9, iOS9 and iOS10

Those

[FAIL] UserDefaultsTest.Ctor_UserName : System.NullReferenceException : Object reference not set to an instance of an object
[FAIL] UserDefaultsTest.SetString : StringForKey-2

are due to

http://stackoverflow.com/questions/37840288/ios-10-nsuserdefaults-does-not-work

and should disappear once the bots are rebooted.
2016-06-22 16:28:27 -04:00
Rolf Bjarne Kvinge d62295f0bd [jenkins] Skip mmptest to see if it'll speed up the test run on jenkins. (#248) 2016-06-22 07:12:51 -07:00
Rolf Bjarne Kvinge 5c923e268d [ClockKit] Remove default ctor from CLKComplicationServer. (#260) 2016-06-22 07:10:46 -07:00
Rolf Bjarne Kvinge e1a49bc957 [WatchKit] Disable a few constructors. (#261) 2016-06-22 07:10:32 -07:00
Rolf Bjarne Kvinge 8ed7c2a283 [Security] Implement SecRecord constructor for watchOS. (#257) 2016-06-22 06:11:51 -07:00
Rolf Bjarne Kvinge f3e08d0502 [mtouch] Set the soft heap limit to 8m on watchOS. (#258) 2016-06-22 06:11:40 -07:00
Rolf Bjarne Kvinge c560fee268 [registrar] Managed characters are equivalent to shorts in native code. (#259)
Fixes NSCharacterSetTest.NSMutableCharacterSet_TestStaticSets when
running with the P/Invoke wrapper (for exceptions) enabled (i.e.
watchOS), since otherwise the wrapper would truncate char parameters
to byte.
2016-06-22 05:47:13 -07:00
Rolf Bjarne Kvinge 6521817ec0 Merge pull request #253 from rolfbjarne/jenkins-tests-xcode8
[xharness] More improvements to the jenkins code.
2016-06-22 03:29:05 -07:00
Rolf Bjarne Kvinge fdccb019a5 [xharness] Try to bump the launch timeout to 3 minutes. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge fb37a21ef9 [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-22 10:42:22 +02:00