xamarin-macios/tests/monotouch-test/Foundation
Rolf Bjarne Kvinge aa1bf71cd6 [monotouch-test] Make it work with Mac Catalyst.
* Fix system version checks to work properly on Mac Catalyst (which uses the macOS
  version as its system version).

* Add the framework-specific defines to the build for monotouch-test.csproj (using
  the generated response files), this way we can use them in the tests.

* Sprinkle conditionals in numerous places - I tried using either framework-specific
  or XAMCORE_3_0 whenever that made since (instead of using Mac Catalyst as a condition).

* Updated a few tests to use non-deprecated API (because the deprecated API often
  doesn't exist in Mac Catalyst).

* Also a few minor API fixes to make any corresponding tests compile.
2021-01-15 17:52:28 +01:00
..
AppleScript.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
ArrayTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
AttributedStringTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
BlockOperationTest.cs [tests] Use Assert.Throws instead of the ExpectedException attribute. (#9092) 2020-07-16 08:19:33 +02:00
BundleTest.cs [tests] Use the Does.[BeginWith|Contain|EndWith] constraints instead of the Is.[StringStarting|StringContaining|StringEnding] constraints. 2020-08-03 11:53:17 +02:00
CachedUrlResponseTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
CalendarTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
CoderTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
CookieTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
DateFormatterTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
DateTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
DecimalNumberTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
DecimalTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
DictionaryContainerTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
DimensionTest.cs [tests] Use Assert.IsInstanceOf instead of Assert.IsInstanceOfType. 2020-08-03 11:53:17 +02:00
EncodingDetectionOptionsTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
FileCoordinatorTest.cs [tests] Use Assert.Throws instead of the ExpectedException attribute. (#9092) 2020-07-16 08:19:33 +02:00
FileHandleTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
FileManagerTest.cs [tests] Use the Does.[BeginWith|Contain|EndWith] constraints instead of the Is.[StringStarting|StringContaining|StringEnding] constraints. 2020-08-03 11:53:17 +02:00
FormatterTests.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
IndexPathTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
KeyedUnarchiverTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
LocaleTest.cs [xharness] Enable monotouch-test/.NET by default, but ignore all variations. (#9526) 2020-08-27 16:54:08 +02:00
MutableAttributedStringTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
MutableDataTest.cs [tests] Use the Does.[BeginWith|Contain|EndWith] constraints instead of the Is.[StringStarting|StringContaining|StringEnding] constraints. 2020-08-03 11:53:17 +02:00
MutableStringTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NSArray1Test.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSCharacterSetTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NSDataTest.cs [monotouch-test] Make it work with Mac Catalyst. 2021-01-15 17:52:28 +01:00
NSDateComponentsTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NSDictionary2Test.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSDictionaryTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSExpressionTest.cs [tests] Update a few TestCase attributes to be compatible with official NUnitLite. 2020-08-03 11:53:17 +02:00
NSFormatter.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSIndexSet.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSInputStreamTest.cs [monotouch-test] Make it work with Mac Catalyst. 2021-01-15 17:52:28 +01:00
NSKeyedUnarchiverTest.cs [ObjCRuntime] Add missing .ctor to 'Class' (#4726) 2018-08-29 16:23:36 -04:00
NSLayoutConstraint.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSLayoutConstraintTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NSLinguisticAnalysisTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NSLocaleTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NSMetadataItem.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSMutableArray1Test.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSMutableDictionary2Test.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSMutableDictionaryTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSMutableOrderedSet1Test.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSMutableOrderedSetTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSMutableSet1Test.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSMutableSetTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSObject.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSOrderedSet1Test.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSOrderedSetTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSScriptCommandArgumentDescriptionTest.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSScriptCommandDescriptionDictionaryTest.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSScriptCommandDescriptionTest.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSSet1Test.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSSetTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSStreamTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSString.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSStringTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NSThread.cs [tests] Merge apitest into xammac_tests. (#10276) 2020-12-18 11:45:06 +01:00
NSTimeZoneTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NSUrlSessionConfiguration.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NetServiceTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
NotificationCenter.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NotificationQueueTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
NumberTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
ObjectTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
OperationQueueTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
OutputStreamTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
ProtocolAttributeTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
RegularExpressionTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
StringTest.cs [monotouch-test] Make it work with Mac Catalyst. 2021-01-15 17:52:28 +01:00
ThreadTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
TimerTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
UbiquitousKeyValueStoreTest.cs [xcode12] Bump for beta 1 (#8935) 2020-06-26 14:02:44 -04:00
UrlConnectionTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
UrlCredentialTest.cs [dotnet/monotouch-test] Disable tests that require Crypto for .NET. (#9463) 2020-08-24 17:55:24 +02:00
UrlProtectionSpaceTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
UrlProtocolTest.cs [tests] Skip a few networking tests on macOS 10.9. Fixes #xamarin/maccore@2221. (#9021) 2020-07-07 15:56:43 +02:00
UrlRequestTest.cs [monotouch-test] Second attempt at fixing the broken UrlRequestTest.Mutability_30744 test. (#9116) 2020-07-17 15:26:38 +02:00
UrlSessionConfigurationTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
UrlSessionTaskMetricsTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
UrlSessionTaskTest.cs [tests] Use Assert.IsInstanceOf instead of Assert.IsInstanceOfType. 2020-08-03 11:53:17 +02:00
UrlSessionTaskTransactionMetricsTest.cs [monotouch-test] Don't assert any specific value for the ReusedConnection value in UrlSessionTaskTransactionMetricsTest. Fixes #xamarin/maccore@2281. (#9660) (#9854) 2020-10-13 15:11:56 -04:00
UrlSessionTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
UrlTest.cs [Foundation] Fix NSUrl's implicit Uri operators. Fixes #9607. (#9611) 2020-09-14 08:08:12 +02:00
UserDefaultsTest.cs [tests] Update tests to make native type vs normal type comparison explicit (#9097) 2020-07-17 08:48:09 +02:00
UuidTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
ZoneTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00