Home
last modified time | relevance | path

Searched refs:assertNull (Results 1 – 17 of 17) sorted by relevance

/expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/records/
H A DNumericRangeValidatorTest.kt4 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 DRegexValidatorTest.kt4 import expo.modules.assertNull
12 runCatching { validator.validate("aaaabbbbbccccddd") }.exceptionOrNull().assertNull() in should not throw if a value match regex()
H A DRecordTypeValidatorsTest.kt8 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 DPersistentFileLogTest.kt23 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 DUpdatesLoggingTest.kt43 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 DAssetUtilsTests.kt18 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 DUpdatesStateMachineInstrumentationTest.kt78 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 DTruthExtensions.kt26 inline fun Any?.assertNull() { in assertNull() method
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/
H A DFileDownloaderManifestParsingTest.kt188 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 DFileDownloaderTest.kt44 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 DNewManifestTest.kt43 Assert.assertNull(manifest.getExpoGoSDKVersion()) in <lambda>()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/manifest/
H A DUpdateManifestMetadataTest.kt19 import kotlin.test.assertNull
94 assertNull(beforeSave) in testExtraClientParams()
H A DResponseHeaderDataTest.kt55 Assert.assertNull(actual) in testHeaderDictionaryToJSONObject_ParsingError()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/db/
H A DUpdatesDatabaseTest.kt142 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 DBuildDataTest.kt86 assertNull(nullBuildDataJSON) in ensureBuildDataIsConsistent_buildDataIsNull()
/expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/albums/
H A DGetAlbumTests.kt22 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 DCertificateChainTest.kt18 assertNull(codeSigningCertificate.expoProjectInformation()) in test_ValidSingleCertificate()