Rolf Bjarne Kvinge
a7b20c1a43
[xharness] Fix emptyness check.
2016-06-28 12:59:42 +02:00
Rolf Bjarne Kvinge
3a825fc5e0
[xharness] Improve watching objects in the debugger.
2016-06-28 12:59:36 +02:00
Sebastien Pouliot
ddc3a56e68
[tests][harness] Add kTCCServiceMediaLibrary to avoid privacy popup ( #230 )
...
Running some API without permission can crash some tests.
2016-06-28 12:59:25 +02:00
Alex Soto
2b51bf257b
[NS(mutable)Dictionary] Fix bug 41343 - NSDictionary<TKey, TValue>.FromObjectsAndKeys keys and values are twisted up ( #281 )
...
https://bugzilla.xamarin.com/show_bug.cgi?id=41343
* NSDictionary<TKey, TValue>.FromObjectsAndKeys keys and values are twisted up
* Fixed it in XAMCORE_4_0
* Obsoleted the 2 existing methods
* introduced FromObjectsAndKeys (TValue [] objects, TKey [] keys, nint count)
* Added unit tests with different types for TKey and TValue
2016-06-27 20:38:14 -04:00
Rolf Bjarne Kvinge
399501c837
[introspection] Implement a few Xcode checks for Mac.
2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge
efa39f6214
[introspection] Fix build problem.
2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge
73660edbdf
[tests] Fix a few dead code compiler warnings.
2016-06-27 13:07:37 +02:00
Rolf Bjarne Kvinge
e8d1aae78b
[introspection] Make the Mac version build.
2016-06-27 13:07:37 +02:00
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
278550795e
[xharness] Fix simulator validation check to not fail when it shouldn't. ( #265 )
2016-06-24 01:03:36 -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
67dc777761
[apitest] Make SearchKitTest parallelizable by not using a hardcoded path. ( #249 )
2016-06-22 00:48:20 -07: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
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
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
Rolf Bjarne Kvinge
1e62987a29
[CoreGraphics] Fix CGRect.Inflate to work correctly, and add tests. Fixes #41684 . ( #225 )
...
https://bugzilla.xamarin.com/show_bug.cgi?id=41684
2016-06-17 10:45:58 -07:00
Manuel de la Pena
35be8c62a0
Merge pull request #224 from mandel-macaque/bug-41562
...
[Fix] Ensure that tests do not fail on iOS 8.
2016-06-17 14:51:10 +02:00
Manuel de la Pena
99a8468406
[Fix] Ensure that tests do not fail on iOS 8 by skipping a type that does not support the CMAttachment API.
2016-06-17 12:04:00 +02:00
Manuel de la Pena
f1e758c9e0
[Fix] Ensure NSExpression tests do run in the device ensuring that all members of the type are preserved.]
2016-06-17 11:19:07 +02:00
Rolf Bjarne Kvinge
70747b3317
[xharness] Fix logdirectory path to use correct directory separator. ( #210 )
2016-06-15 22:05:12 -07:00
Rolf Bjarne Kvinge
64bc391669
[xharness] Fix NRE when running from the command line. ( #207 )
...
* [xharness] Log simulator loading and handle any exceptions.
* [xharness] Add missing tests.
* [xharness] Throw a helpful exception instead of NRE when a simulator can't be found.
* [xharness] Fix null reference exception.
2016-06-15 18:57:47 -07:00
Rolf Bjarne Kvinge
15a5af3342
[xharness] Exclude bcl tests by default.
2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge
a5f5a76cc0
[xharness] Try and fix some strange file sharing exceptions.
2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge
126de6836a
[xharness] Use full path to mdtool.
2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge
0910cacf51
[xharness] Fix processing of ignored tasks.
2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge
dcc605ed22
[xharness] Build XM/Classic projects using mdtool.
2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge
af4a93a181
[xharness] Pass the right environment variables when invoking xbuild.
2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge
ae1bf7fb5f
[xharness] Add support for ignoring tests.
...
And use it to ignore framework-test (never run on wrench) and
watchOS tests (currently ignored on wrench).
2016-06-15 10:51:14 -07:00
Rolf Bjarne Kvinge
d9bf0e1728
[xharness] Add support for building and running mac tests on jenkins.
2016-06-15 10:51:14 -07:00