xamarin-macios/tests/monotouch-test/Foundation
Rolf Bjarne Kvinge 36af029204
Change all null checking expressions to use 'is' and 'is not'. (#18176)
Change all null checking expressions to use 'is null' and 'is not null'
instead of '== null' and '!= null'.

This was mostly done with sed, so code can probably be improved in many
other ways with manual inspection, but that will come over time.

Also add code to the autoformat script to automatically fix these issues in the future.
2023-05-05 17:52:19 +02:00
..
AppleScript.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ArrayTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
AttributedStringTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
BlockOperationTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
BundleTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
CachedUrlResponseTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
CalendarTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
CoderTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
CookieTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
DateFormatterTest.cs [Tests] Remove not needed usings in the Foundation tests. (#13233) 2021-11-03 10:33:17 -04:00
DateTest.cs [Foundation] Fix NSDate's explicit conversion operators with DateTime. (#16872) 2022-11-23 07:55:22 +01:00
DecimalNumberTest.cs [Tests] Remove not needed usings in the Foundation tests. (#13233) 2021-11-03 10:33:17 -04:00
DecimalTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
DictionaryContainerTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
DimensionTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
EncodingDetectionOptionsTest.cs [tests] Change TestRuntime.CheckSystemVersion to take a ApplePlatform value instead of a PlatformName enum. (#13350) 2021-11-15 08:06:36 +01:00
FileCoordinatorTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
FileHandleTest.cs [tests] Preserve all test fixtures. (#10870) 2021-03-16 15:15:30 +01:00
FileManagerTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
FormatterTests.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
IndexPathTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
KeyedUnarchiverTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
LocaleTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
MutableAttributedStringTest.cs [tests] Preserve all test fixtures. (#10870) 2021-03-16 15:15:30 +01:00
MutableDataTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
MutableStringTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSArray1Test.cs Merge main into xcode14.1. 2022-10-06 13:59:29 +02:00
NSCharacterSetTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSDataTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
NSDateComponentsTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSDictionary2Test.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSDictionaryTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSExpressionTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSFormatter.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSHostTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSIndexSet.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSInputStreamTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSKeyedUnarchiverTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSLayoutConstraint.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
NSLayoutConstraintTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
NSLinguisticAnalysisTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSLocaleTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSMetadataItem.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSMutableArray1Test.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSMutableDictionary2Test.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSMutableDictionaryTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSMutableOrderedSet1Test.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSMutableOrderedSetTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSMutableSet1Test.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSMutableSetTest.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
NSObject.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSObjectGCTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
NSOperatingSystemVersionTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSOrderedCollectionChange1Test.cs [foundation] Xcode 13 & Xcode 14 beta 1-3 bindings (#15579) 2022-08-01 10:22:39 -05:00
NSOrderedCollectionChangeTest.cs [foundation] Xcode 13 & Xcode 14 beta 1-3 bindings (#15579) 2022-08-01 10:22:39 -05:00
NSOrderedCollectionDifference1Test.cs [foundation] Xcode 13 & Xcode 14 beta 1-3 bindings (#15579) 2022-08-01 10:22:39 -05:00
NSOrderedCollectionDifferenceTest.cs [foundation] Xcode 13 & Xcode 14 beta 1-3 bindings (#15579) 2022-08-01 10:22:39 -05:00
NSOrderedSet1Test.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSOrderedSetTest.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
NSRangeTest.cs Implement IEquatable<T> on NSRange (#14083) 2022-02-07 07:52:45 +01:00
NSScriptCommandArgumentDescriptionTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSScriptCommandDescriptionDictionaryTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSScriptCommandDescriptionTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
NSSet1Test.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSSetTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSStreamTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
NSString.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSStringTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSTextListTest.cs [XKit] Fix creating NSTextLists with custom formats in .NET. Fixes #15766. (#17123) 2023-01-10 08:28:47 +01:00
NSThread.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSTimeZoneTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NSUrlSessionConfiguration.cs [Tests] Remove not needed usings in the Foundation tests. (#13233) 2021-11-03 10:33:17 -04:00
NetServiceTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NotificationCenter.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01: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 [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
OperationQueueTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
OutputStreamTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ProtocolAttributeTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
RegularExpressionTest.cs [Foundation] Replace broken version of NSRegularExpression.GetMatches with a working version for .NET. (#13732) 2022-01-17 09:34:26 +01:00
StringTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ThreadTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
TimerTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
UbiquitousKeyValueStoreTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
UrlConnectionTest.cs [Tests] Remove not needed usings in the Foundation tests. (#13233) 2021-11-03 10:33:17 -04:00
UrlCredentialTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
UrlProtectionSpaceTest.cs [tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
UrlProtocolTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
UrlRequestTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
UrlSessionConfigurationTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
UrlSessionTaskMetricsTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
UrlSessionTaskTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
UrlSessionTaskTransactionMetricsTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
UrlSessionTest.cs [tests] Adjust UrlSessionTests to ignore more failure scenarios in CI. (#17649) 2023-03-02 10:38:41 +01:00
UrlTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
UserDefaultsTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
UuidTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ZoneTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00