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

5217 Коммитов

Автор SHA1 Сообщение Дата
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
Rolf Bjarne Kvinge dfd0fbe81a [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-22 10:42:22 +02:00
Rolf Bjarne Kvinge 755a0622bd [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-22 10:42:22 +02:00
Rolf Bjarne Kvinge 6b5a394244 [xharness] Add a few more variables to control what to include in a test run. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge 0a39ec940f [xharness] Ignore ignored tests when deciding which color to use for a group of tests. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge 1e1bbec8a3 [xharness] When capturing the system log for simulator runs, don't capture contents of the log from before our test run starts. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge bd993fbe0d [xharness] Cleanup must be done by the last test, not the first test. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge cf060f4611 [xharness] iPhone 4s doesn't exist anymore, use iPhone 5 instead. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge d6f27c2e65 [xharness] Improve html report a bit when some tests are ignored. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge ade84d6397 [xharness] Add a few variables to control if to include iOS/Mac tests in jenkins test mode. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge 64bf75c533 [xharness] Fix emptyness check. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge b2431898b0 [xharness] Improve watching objects in the debugger. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge 5a9c9003fa [xharness] Use Xcode 8 when debugging. 2016-06-22 10:42:22 +02:00
Rolf Bjarne Kvinge 67dc777761 [apitest] Make SearchKitTest parallelizable by not using a hardcoded path. (#249) 2016-06-22 00:48:20 -07:00
Miguel de Icaza b15bce8a8f [ios10,uikit] Address various issues identified by Sebastien 2016-06-21 23:23:52 -04:00
Chris Hamons 04e7b77f1a Remove duplication found in tests and unify namespaces of common code (#250)
* Remove duplication found in tests and unify namespaces of common code

* Stub out dontlink-mac since introspection took over
2016-06-21 15:46:07 -08:00
Sebastien Pouliot 45cfe49763 [uikit] Fix UIGraphicsPdfRenderer* type names (#251)
The native name use `PDF` but this was not provided to the generator.

This also explains why `init` returned `nil` - it was not the common
unavailability of the selector, but the incorrect type name used.

references:
!unknown-type! UIGraphicsPdfRenderer bound
!unknown-type! UIGraphicsPdfRendererContext bound
!unknown-type! UIGraphicsPdfRendererFormat bound
2016-06-21 17:14:54 -04:00
Rolf Bjarne Kvinge 834c0a9fd7 Build with path to the exact SDK version. Fixes #41597. (#244)
If no sdk version (-sdk_version) is passed to the native
linker, it tries to infer the SDK version from the
path to the -syslibroot argument.

In our case we use a versioned path to Xcode, but a general
symlink without the SDK version:

/Applications/Xcode73.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk

which means ld picked up the Xcode version as the SDK version,
since that's the first number part of the path [1], so we'd
end up with libraries whose SDK version was 73.

So instead use an SDK path with the SDK version, so that ld
finds the SDK version instead of the Xcode version.

[1] 266f4401b9/src/ld/Options.cpp (L4005-L4020)

https://bugzilla.xamarin.com/show_bug.cgi?id=41597
2016-06-21 07:24:16 -07:00
Vincent Dondain b38296a303 [foundation] Add missing MutableString binding (#246)
Fixes bug 42015:
"NSMutableAttributedString lacks binding for mutableString"
2016-06-21 09:53:07 -04:00
Vincent Dondain aae5a73543 [messages] New framework in iOS 10.0 beta1 (#190) 2016-06-21 08:56:38 -04:00
Manuel de la Pena 7c51c3b7b8 [UIKit] Add a new Capture method to the UIView to allow users to easily capture the entire UIView contents in a UIImage. (#240) 2016-06-20 20:58:23 -04:00
Sebastien Pouliot 1659e121f0 Merge branch 'master' into xcode8 2016-06-20 20:48:14 -04:00
Timothy Risi c1a877e4e8 Mac bug fixes (#175)
* [Bug 30500] Add NSUrl.Port binding

* [Bug 39945] Add NSImageName.ShareTemplate binding and enum

* [Bug 41713] Disable NDon't allow expanding AccessibilityNotifiesWhenDestroyed in debugger

* Style fixes
2016-06-20 15:49:35 -04:00
Chris Hamons 3fcb2ed89e [XM] - XM Mobile should not resolve from the GAC either (#242)
- Centralize fix I made for XM 4.5 to apply to both and write larger test
- https://bugzilla.xamarin.com/show_bug.cgi?id=42001
2016-06-20 15:26:33 -04:00
Jeffrey Stedfast f3199064d4 [msbuild] Properly locate .nib files produced for iOS 5.x (#241)
iOS 5.x uses .nib files and not directories.
2016-06-20 14:11:39 -04:00
Chris Hamons 75fcf376d3 [XM] Fix mmp test failure
- On some machines/mono versions it appears that printing System.Windows.DependencyObject requires System.Xaml for some reason.
- Since the test is testing our resolution from the GAC and we don't care about the specifics, I'm just adding that reference. Which we also get from the GAC.
2016-06-20 12:52:29 -05:00
Sebastien Pouliot 4995f58459 [tests][link sdk] Exclude CFNetwork test from watchOS (#238)
- framework not supported on watchOS
- fix build of "link sdk" under watchOS
2016-06-20 09:37:06 -04:00
Miguel de Icaza 06c59838c1 [ios10,uikit] More API updates 2016-06-19 21:53:43 -04:00
Sebastien Pouliot ebbc8addcc [tests] Some fix for monotouch-test needed wrt iOS 10 (#236)
* Adjust ever changing AddressFormatingTest for iOS 10, which does
  not output the country;

* Adjust Contact's ICNKeyDescriptor internal check;

* CLBeaconRegion.ProximityUuid does not return the original instance
  anymore, but a different one with the same uuid;

* Add a small delta for Vector3 comparison in ModelIO tests;

* Adjust MapKit tests for pin color change and MapRect corner case;

* SecKeyTest with corner cases now pass (they failed before);

* SecPolicyIdentifier.AppleIDValidation does not report the OID it's
  created from (migration?)

Note: some might be bugs that Apple will fix in later seeds
2016-06-19 09:32:01 -07:00
Alex Soto 377a16c40f Merge pull request #205 from dalexsoto/videosubscriberaccount
[VideoSubscriberAccount] Add VideoSubscriberAccount from xcode8 beta1
2016-06-18 14:44:16 -05:00
Alex Soto 5225450521 [VideoSubscriberAccount] Add VideoSubscriberAccount from xcode8 beta1
* Added VideoSubscriberAccount binding
* Ensured we link against VideoSubscriberAccount
* Ensured introspection tests pass
2016-06-18 14:38:02 -05:00