xamarin-macios/tests/monotouch-test/CoreFoundation
Rolf Bjarne Kvinge c4ddd4da1e
[monotouch-test] Adjust a few tests to cope with optimizations. (#3720)
This fixes the following test failures when building for debug with all optimizations enabled:

    DispatchTests
    	[FAIL] DispatchTests.EverAfter :   thread check hit
      Expected: same as <UIKit.UIKitThreadAccessException>
      But was:  <System.ArgumentNullException>

    		  at MonoTouchFixtures.CoreFoundation.DispatchTests.EverAfter () [0x000e1] in /Users/xamarinqa/vsts/_work/52/s/tests/monotouch-test/CoreFoundation/DispatchTests.cs:259
    		  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
    	[FAIL] DispatchTests.MainQueueDispatch :   thread check hit
      Expected: same as <UIKit.UIKitThreadAccessException>
      But was:  <System.ArgumentNullException>

    		  at MonoTouchFixtures.CoreFoundation.DispatchTests.MainQueueDispatch () [0x000d1] in /Users/xamarinqa/vsts/_work/52/s/tests/monotouch-test/CoreFoundation/DispatchTests.cs:111
    		  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
2018-03-13 10:41:38 +01:00
..
BundleTest.cs [foundation] Add NSBundle.GetLocalizedString returning an NSString. Fixes #41292 (#3266) 2018-01-20 14:00:01 -05:00
DispatchGroupTest.cs [tests] Import 2016-05-26 15:06:52 +02:00
DispatchTests.cs [monotouch-test] Adjust a few tests to cope with optimizations. (#3720) 2018-03-13 10:41:38 +01:00
NetworkTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00
NotificationCenterTest.cs [tests] Import 2016-05-26 15:06:52 +02:00
ProxyTest.cs [tests] Import 2016-05-26 15:06:52 +02:00
StringTest.cs [tests] Import 2016-05-26 15:06:52 +02:00
UrlTest.cs Port monotouch-test suite to Xamarin.Mac (#1445) 2017-01-12 09:13:56 -09:00