| /expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/records/ |
| H A D | NumericRangeValidatorTest.kt | 4 import expo.modules.assertNull 12 runCatching { validator.validate(1) }.exceptionOrNull().assertNull() in should not throw if an argument is in the range() 13 runCatching { validator.validate(5) }.exceptionOrNull().assertNull() in should not throw if an argument is in the range() 14 runCatching { validator.validate(10) }.exceptionOrNull().assertNull() in should not throw if an argument is in the range()
|
| H A D | RegexValidatorTest.kt | 4 import expo.modules.assertNull 12 runCatching { validator.validate("aaaabbbbbccccddd") }.exceptionOrNull().assertNull() in should not throw if a value match regex()
|
| H A D | RecordTypeValidatorsTest.kt | 8 import expo.modules.assertNull 88 exception.assertNull() in test integration between range validators and record() 136 exception.assertNull() in test integration between is not empty validator and record() 200 exception.assertNull() in test integration between size validator and record() 232 exception.assertNull() in test integration between regular expression validator and record()
|
| /expo/packages/expo-modules-core/android/src/androidTest/java/expo/modules/core/logging/ |
| H A D | PersistentFileLogTest.kt | 23 Assert.assertNull(err) in <lambda>() 35 Assert.assertNull(err) in <lambda>() 48 Assert.assertNull(err) in <lambda>() 59 Assert.assertNull(it) in <lambda>()
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/logging/ |
| H A D | UpdatesLoggingTest.kt | 43 Assert.assertNull(entryCopy?.updateId) in <lambda>() 44 Assert.assertNull(entryCopy?.assetId) in <lambda>() 45 Assert.assertNull(entryCopy?.stacktrace) in <lambda>() 61 Assert.assertNull(UpdatesLogEntry.create(testInvalidJSON)) in <lambda>() 65 Assert.assertNull(UpdatesLogEntry.create(testMissingRequiredFieldJSON)) in <lambda>() 124 Assert.assertNull(err) in <lambda>()
|
| /expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/assets/ |
| H A D | AssetUtilsTests.kt | 18 import org.junit.Assert.assertNull 62 assertNull(result[0].getString("localUri")) in putAssetsInfo returns correct response when fullInfo=false() 120 assertNull(locationBundle) in legacy getExifLocation should give null when unavailable()
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/ |
| H A D | UpdatesStateMachineInstrumentationTest.kt | 78 Assert.assertNull(machine.context.latestManifest) in test_handleCheckCompleteUnavailable() 99 Assert.assertNull(machine.context.downloadError) in test_handleDownloadAndDownloadComplete() 120 Assert.assertNull(machine.context.checkError) in test_handleRollback() 144 Assert.assertNull(machine.context.rollback) in test_checkError()
|
| /expo/packages/expo-modules-core/android/src/test/java/expo/modules/ |
| H A D | TruthExtensions.kt | 26 inline fun Any?.assertNull() { in assertNull() method
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/ |
| H A D | FileDownloaderManifestParsingTest.kt | 188 Assert.assertNull(resultUpdateResponse!!.manifestUpdateResponsePart) in testManifestParsing_MultipartBodyOnlyDirective() 244 Assert.assertNull(resultUpdateManifest) in testManifestParsing_MultipartBodyOnlyDirective_v0CompatibilityMode() 296 Assert.assertNull(resultUpdateResponse!!.manifestUpdateResponsePart) in testManifestParsing_MultipartBodyNoRelevantParts() 297 Assert.assertNull(resultUpdateResponse!!.directiveUpdateResponsePart) in testManifestParsing_MultipartBodyNoRelevantParts() 339 Assert.assertNull(resultUpdateResponse!!.manifestUpdateResponsePart) in testManifestParsing_MultipartBodyEmpty() 378 Assert.assertNull(resultUpdateResponse!!.manifestUpdateResponsePart) in testManifestParsing_NullBodyResponseProtocol1() 417 Assert.assertNull(resultUpdateResponse!!.manifestUpdateResponsePart) in testManifestParsing_204ResponseProtocol1() 455 Assert.assertNull(resultUpdateManifest) in testManifestParsing_204ResponseNoProtocol() 646 Assert.assertNull(resultUpdateManifest) in testManifestParsing_JSONBodySigned_UnsignedRequest() 829 Assert.assertNull(resultUpdateManifest) in testManifestParsing_MultipartBodySignedCertificateParticularExperience_IncorrectExperienceInManifest() [all …]
|
| H A D | FileDownloaderTest.kt | 44 Assert.assertNull(actual.header("Cache-Control")) in testCacheControl_LegacyManifest() 56 Assert.assertNull(actual.header("Cache-Control")) in testCacheControl_NewManifest() 287 Assert.assertNull(error) in test_downloadAsset_nullExpectedAssetHash()
|
| /expo/packages/expo-manifests/android/src/test/java/expo/modules/manifests/core/ |
| H A D | NewManifestTest.kt | 43 Assert.assertNull(manifest.getExpoGoSDKVersion()) in <lambda>()
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/manifest/ |
| H A D | UpdateManifestMetadataTest.kt | 19 import kotlin.test.assertNull 94 assertNull(beforeSave) in testExtraClientParams()
|
| H A D | ResponseHeaderDataTest.kt | 55 Assert.assertNull(actual) in testHeaderDictionaryToJSONObject_ParsingError()
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/db/ |
| H A D | UpdatesDatabaseTest.kt | 142 Assert.assertNull(assetDao.loadAssetWithKey("asset1")) in testDeleteUnusedAssets() 143 Assert.assertNull(assetDao.loadAssetWithKey("asset2")) in testDeleteUnusedAssets() 183 Assert.assertNull(assetDao.loadAssetWithKey("asset1")) in testDeleteUnusedAssets_DuplicateFilenames()
|
| H A D | BuildDataTest.kt | 86 assertNull(nullBuildDataJSON) in ensureBuildDataIsConsistent_buildDataIsNull()
|
| /expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/albums/ |
| H A D | GetAlbumTests.kt | 22 import org.junit.Assert.assertNull in <lambda>() 106 assertNull(result) in <lambda>()
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/codesigning/ |
| H A D | CertificateChainTest.kt | 18 assertNull(codeSigningCertificate.expoProjectInformation()) in test_ValidSingleCertificate()
|