Home
last modified time | relevance | path

Searched refs:assertNotNull (Results 1 – 25 of 37) sorted by relevance

12

/expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/records/
H A DNumericRangeValidatorTest.kt3 import expo.modules.assertNotNull
23 runCatching { validator1.validate(1) }.exceptionOrNull().assertNotNull() in should throw if an argument is outside of the range()
24 runCatching { validator1.validate(11) }.exceptionOrNull().assertNotNull() in should throw if an argument is outside of the range()
26 runCatching { validator2.validate(0) }.exceptionOrNull().assertNotNull() in should throw if an argument is outside of the range()
27 runCatching { validator2.validate(10) }.exceptionOrNull().assertNotNull() in should throw if an argument is outside of the range()
29 runCatching { validator3.validate(1) }.exceptionOrNull().assertNotNull() in should throw if an argument is outside of the range()
30 runCatching { validator3.validate(10) }.exceptionOrNull().assertNotNull() in should throw if an argument is outside of the range()
H A DRegexValidatorTest.kt3 import expo.modules.assertNotNull
19 runCatching { validator.validate("eeeeffff") }.exceptionOrNull().assertNotNull() in should throw if a value not match regex()
H A DRecordTypeValidatorsTest.kt7 import expo.modules.assertNotNull
86 exception.assertNotNull() in test integration between range validators and record()
134 exception.assertNotNull() in test integration between is not empty validator and record()
198 exception.assertNotNull() in test integration between size validator and record()
230 exception.assertNotNull() in test integration between regular expression validator and record()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/manifest/
H A DResponseHeaderDataTest.kt17 Assert.assertNotNull(actual) in testHeaderDictionaryToJSONObject_SupportedTypes()
31 Assert.assertNotNull(actual) in testHeaderDictionaryToJSONObject_IgnoresOtherTypes()
40 Assert.assertNotNull(actual) in testHeaderDictionaryToJSONObject_IgnoresParameters()
48 Assert.assertNotNull(actual) in testHeaderDictionaryToJSONObject_Empty()
H A DUpdateManifestMetadataTest.kt57 Assert.assertNotNull(actual) in testManifestFilters_OverwriteAllFields()
72 Assert.assertNotNull(actual) in testManifestFilters_OverwriteEmpty()
86 Assert.assertNotNull(actual) in testManifestFilters_OverwriteNull()
H A DNewUpdateManifestTest.kt23 Assert.assertNotNull(NewUpdateManifest.fromNewManifest(manifest, null, createConfig())) in testFromManifestJson_AllFields()
H A DLegacyUpdateManifestTest.kt168 Assert.assertNotNull(LegacyUpdateManifest.fromLegacyManifest(manifest, createConfig())) in testFromLegacyManifestJson_Development()
178 Assert.assertNotNull(LegacyUpdateManifest.fromLegacyManifest(manifest, createConfig())) in testFromLegacyManifestJson_Production_AllFields()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/db/
H A DUpdatesDatabaseTest.kt51 Assert.assertNotNull(byId) in testInsertUpdate()
136 Assert.assertNotNull(assetDao.loadAssetWithKey("asset1")) in testDeleteUnusedAssets()
137 Assert.assertNotNull(assetDao.loadAssetWithKey("asset2")) in testDeleteUnusedAssets()
138 Assert.assertNotNull(assetDao.loadAssetWithKey("asset3")) in testDeleteUnusedAssets()
139 Assert.assertNotNull(assetDao.loadAssetWithKey("commonAsset")) in testDeleteUnusedAssets()
144 Assert.assertNotNull(assetDao.loadAssetWithKey("asset3")) in testDeleteUnusedAssets()
145 Assert.assertNotNull(assetDao.loadAssetWithKey("commonAsset")) in testDeleteUnusedAssets()
184 Assert.assertNotNull(assetDao.loadAssetWithKey("asset2")) in testDeleteUnusedAssets_DuplicateFilenames()
185 Assert.assertNotNull(assetDao.loadAssetWithKey("asset3")) in testDeleteUnusedAssets_DuplicateFilenames()
H A DBuildDataTest.kt75 assertNotNull(shouldNotBeNull) in clearAllUpdatesFromDatabase()
91 assertNotNull(buildDataJSON) in ensureBuildDataIsConsistent_buildDataIsNull()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/
H A DFileDownloaderManifestParsingTest.kt62 Assert.assertNotNull(resultUpdateManifest) in testManifestParsing_JSONBody()
129 Assert.assertNotNull(resultUpdateResponse) in testManifestParsing_MultipartBody()
130 Assert.assertNotNull(resultUpdateResponse!!.manifestUpdateResponsePart) in testManifestParsing_MultipartBody()
187 Assert.assertNotNull(resultUpdateResponse) in testManifestParsing_MultipartBodyOnlyDirective()
295 Assert.assertNotNull(resultUpdateResponse) in testManifestParsing_MultipartBodyNoRelevantParts()
338 Assert.assertNotNull(resultUpdateResponse) in testManifestParsing_MultipartBodyEmpty()
377 Assert.assertNotNull(resultUpdateResponse) in testManifestParsing_NullBodyResponseProtocol1()
416 Assert.assertNotNull(resultUpdateResponse) in testManifestParsing_204ResponseProtocol1()
506 Assert.assertNotNull(resultUpdateManifest) in testManifestParsing_JSONBodySigned()
592 Assert.assertNotNull(resultUpdateResponse) in testManifestParsing_MultipartBodySigned()
[all …]
H A DRemoteLoaderTest.kt148 assets.forEach { Assert.assertNotNull(it.url) } in testRemoteLoader_AssetExists_BothDbAndDisk()
176 Assert.assertNotNull(it.url) in testRemoteLoader_AssetExists_DbOnly()
/expo/packages/expo-modules-core/android/src/test/java/expo/modules/
H A DTruthExtensions.kt21 inline fun Any?.assertNotNull() { in assertNotNull() method
/expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/assets/
H A DAssetUtilsTests.kt17 import org.junit.Assert.assertNotNull
103 assertNotNull(locationBundle) in legacy getExifLocation should return proper bundle()
/expo/packages/expo-dev-menu/vendored/react-native-safe-area-context/android/devmenu/com/th3rdwave/safeareacontext/
H A DSafeAreaProvider.kt43 Assertions.assertNotNull(mInsetsChangeListener).onInsetsChange(this, edgeInsets, frame) in onInsetsChange()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/codesigning/
H A DCertificateChainTest.kt17 assertNotNull(codeSigningCertificate) in test_ValidSingleCertificate()
27 assertNotNull(codeSigningCertificate) in test_ValidCertificateChain()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/logging/
H A DUpdatesLoggingTest.kt56 Assert.assertNotNull(entryCopy2?.stacktrace) in <lambda>()
156 Assert.assertNotNull(entries) in <lambda>()
195 Assert.assertNotNull(entries) in <lambda>()
/expo/packages/expo-clipboard/android/src/test/java/expo/modules/clipboard/
H A DClipboardImageTest.kt19 import org.junit.Assert.assertNotNull
144 assertNotNull( in <lambda>()
/expo/packages/expo-modules-test-core/android/src/main/java/expo/modules/test/core/
H A DTestUtils.kt20 Assert.assertNotNull("Expected exception, received null", exception) in assertCodedException()
/expo/android/vendored/unversioned/react-native-pager-view/android/src/paper/java/com/reactnativepagerview/
H A DPagerViewViewManager.kt138 Assertions.assertNotNull(view) in receiveCommand()
139 Assertions.assertNotNull(args) in receiveCommand()
/expo/android/vendored/sdk48/react-native-pager-view/android/src/paper/java/abi48_0_0/com/reactnativepagerview/
H A DPagerViewViewManager.kt138 Assertions.assertNotNull(view) in receiveCommand()
139 Assertions.assertNotNull(args) in receiveCommand()
/expo/android/vendored/sdk49/react-native-pager-view/android/src/paper/java/abi49_0_0/com/reactnativepagerview/
H A DPagerViewViewManager.kt138 Assertions.assertNotNull(view) in receiveCommand()
139 Assertions.assertNotNull(args) in receiveCommand()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/pagerview/
H A DPagerViewViewManager.kt227 Assertions.assertNotNull(view) in <lambda>()
228 Assertions.assertNotNull(args) in <lambda>()
/expo/packages/expo-dev-launcher/android/src/react-native-69/expo/modules/devlauncher/rncompatibility/
H A DDevLauncherDevSupportManager.kt222 .getDevServerBundleURL(Assertions.assertNotNull(jsAppBundleName)) in handleReloadJS()
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/
H A DUpdatesStateMachineInstrumentationTest.kt141 Assert.assertNotNull(machine.context.checkError) in test_checkError()
/expo/packages/expo-dev-launcher/android/src/react-native-72/expo/modules/devlauncher/rncompatibility/
H A DDevLauncherDevSupportManager.kt217 .getDevServerBundleURL(Assertions.assertNotNull(jsAppBundleName)) in handleReloadJS()

12