/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
D | SelectorProviderTest.java | 34 assertNotNull(SelectorProvider.provider()); in test_open_methods() 39 assertNotNull(SelectorProvider.provider().openDatagramChannel()); in test_open_methods() 40 assertNotNull(SelectorProvider.provider().openPipe()); in test_open_methods() 41 assertNotNull(SelectorProvider.provider().openServerSocketChannel()); in test_open_methods() 42 assertNotNull(SelectorProvider.provider().openSocketChannel()); in test_open_methods() 43 assertNotNull(SelectorProvider.provider().openSelector()); in test_open_methods()
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarEntryTest.java | 57 assertNotNull(newJarEntry); in test_ConstructorLjava_util_jar_JarEntry_on_null() 72 assertNotNull("Jar file is null", jarFile); in test_ConstructorLjava_util_zip_ZipEntry() 74 assertNotNull("Zip entry is null", zipEntry); in test_ConstructorLjava_util_zip_ZipEntry() 76 assertNotNull("Jar entry is null", jarEntry); in test_ConstructorLjava_util_zip_ZipEntry() 102 assertNotNull("Jar file is null", jarFile); in test_ConstructorLjava_lang_String() 104 assertNotNull("Zip entry is null", zipEntry); in test_ConstructorLjava_lang_String() 106 assertNotNull("Jar entry is null", jarEntry); in test_ConstructorLjava_lang_String() 128 assertNotNull("Jar file is null", jarFile); in test_ConstructorLjava_util_jar_JarEntry() 130 assertNotNull("Jar entry is null", je); in test_ConstructorLjava_util_jar_JarEntry() 132 assertNotNull("Jar entry is null", jarEntry); in test_ConstructorLjava_util_jar_JarEntry()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | MapModeTest.java | 32 assertNotNull(FileChannel.MapMode.PRIVATE); in test_PRIVATE_READONLY_READWRITE() 33 assertNotNull(FileChannel.MapMode.READ_ONLY); in test_PRIVATE_READONLY_READWRITE() 34 assertNotNull(FileChannel.MapMode.READ_WRITE); in test_PRIVATE_READONLY_READWRITE() 48 assertNotNull(FileChannel.MapMode.PRIVATE.toString()); in test_toString() 49 assertNotNull(FileChannel.MapMode.READ_ONLY.toString()); in test_toString() 50 assertNotNull(FileChannel.MapMode.READ_WRITE.toString()); in test_toString()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/spi/ |
D | AsynchronousChannelProviderTest.java | 31 assertNotNull(provider); in test_open_methods() 34 assertNotNull(provider.openAsynchronousChannelGroup(1, new TestThreadFactory())); in test_open_methods() 36 assertNotNull(provider.openAsynchronousChannelGroup(Executors.newSingleThreadExecutor(), in test_open_methods() 39 assertNotNull(provider.openAsynchronousServerSocketChannel( in test_open_methods() 42 assertNotNull(provider.openAsynchronousSocketChannel( in test_open_methods() 45 assertNotNull(provider.openAsynchronousChannelGroup(1, new TestThreadFactory())); in test_open_methods()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | TypeNotPresentExceptionTest.java | 28 assertNotNull(e); in test_constructorLjava_lang_StringLjava_lang_Throwable() 30 assertNotNull(m); in test_constructorLjava_lang_StringLjava_lang_Throwable() 33 assertNotNull(e); in test_constructorLjava_lang_StringLjava_lang_Throwable() 35 assertNotNull(m); in test_constructorLjava_lang_StringLjava_lang_Throwable() 39 assertNotNull(e.getMessage()); in test_constructorLjava_lang_StringLjava_lang_Throwable()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | AnnotationTest.java | 27 assertNotNull(new Annotation(null)); in testAnnotation() 28 assertNotNull(new Annotation("value")); in testAnnotation() 42 assertNotNull(new Annotation(null).toString()); in testToString() 43 assertNotNull(new Annotation("value").toString()); in testToString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | MissingResourceExceptionTest.java | 33 … assertNotNull(new MissingResourceException("Detail string", "Class name string", "Key string")); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 34 assertNotNull(new MissingResourceException(null, "Class name string", "Key string")); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 35 assertNotNull(new MissingResourceException("Detail string", null, "Key string")); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 36 assertNotNull(new MissingResourceException("Detail string", "Class name string", null)); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
|
D | NoSuchElementExceptionTest.java | 31 assertNotNull(new NoSuchElementException()); in test_Constructor() 48 assertNotNull(new NoSuchElementException("String")); in test_ConstructorLjava_lang_String() 49 assertNotNull(new NoSuchElementException(null)); in test_ConstructorLjava_lang_String()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarEntryTest.java | 73 assertNotNull(newJarEntry); in test_ConstructorLjava_util_jar_JarEntry() 85 assertNotNull("Jar file is null", jarFile); in test_ConstructorLjava_util_zip_ZipEntry() 87 assertNotNull("Zip entry is null", zipEntry); in test_ConstructorLjava_util_zip_ZipEntry() 89 assertNotNull("Jar entry is null", jarEntry); in test_ConstructorLjava_util_zip_ZipEntry() 108 assertNotNull("Should have Manifest attributes", jarEntry in test_getAttributes() 150 assertNotNull(jarEntry1.getCodeSigners()); in testCertificatesAndCodesigners() 151 assertNotNull(jarEntry2.getCodeSigners()); in testCertificatesAndCodesigners() 152 assertNotNull(jarEntry1.getCertificates()); in testCertificatesAndCodesigners() 153 assertNotNull(jarEntry2.getCertificates()); in testCertificatesAndCodesigners()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertStore2Test.java | 45 assertNotNull(certStore); in testGetInstanceStringCertStoreParameters() 46 assertNotNull(certStore.getCertStoreParameters()); in testGetInstanceStringCertStoreParameters() 56 assertNotNull(certStore); in testGetInstanceStringCertStoreParameters() 89 assertNotNull(certStore); in testGetInstanceStringCertStoreParametersString() 90 assertNotNull(certStore.getCertStoreParameters()); in testGetInstanceStringCertStoreParametersString() 105 assertNotNull(certStore); in testGetInstanceStringCertStoreParametersString() 160 assertNotNull(certStore); in testGetInstanceStringCertStoreParametersProvider() 161 assertNotNull(certStore.getCertStoreParameters()); in testGetInstanceStringCertStoreParametersProvider() 173 assertNotNull(certStore); in testGetInstanceStringCertStoreParametersProvider() 213 assertNotNull(certStore); in testGetCertificates() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | attrsetvaluenomodificationallowederr.java | 86 assertNotNull("genderNotNull", gender); in runTest() 89 assertNotNull("genderFirstChildNotNull", gen); in runTest() 92 assertNotNull("genderFirstGrandchildNotNull", g); in runTest() 94 assertNotNull("attributesNotNull", attrList); in runTest() 96 assertNotNull("attrNotNull", attrNode); in runTest()
|
D | characterdatareplacedatanomodificationallowederr.java | 78 assertNotNull("entReferenceNotNull", entReference); in runTest() 83 assertNotNull("createdEntRefNotNull", entReference); in runTest() 86 assertNotNull("entElementNotNull", entElement); in runTest() 88 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
|
D | characterdatainsertdatanomodificationallowederr.java | 77 assertNotNull("entReferenceNotNull", entReference); in runTest() 82 assertNotNull("createdEntRefNotNull", entReference); in runTest() 85 assertNotNull("entElementNotNull", entElement); in runTest() 87 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
|
D | characterdatadeletedatanomodificationallowederr.java | 77 assertNotNull("entReferenceNotNull", entReference); in runTest() 82 assertNotNull("createdEntRefNotNull", entReference); in runTest() 85 assertNotNull("entElementNotNull", entElement); in runTest() 87 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
|
D | characterdataappenddatanomodificationallowederr.java | 77 assertNotNull("entReferenceNotNull", entReference); in runTest() 82 assertNotNull("createdEntRefNotNull", entReference); in runTest() 85 assertNotNull("entElementNotNull", entElement); in runTest() 87 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
|
D | characterdatasetdatanomodificationallowederr.java | 77 assertNotNull("entReferenceNotNull", entReference); in runTest() 82 assertNotNull("createdEntRefNotNull", entReference); in runTest() 85 assertNotNull("entElementNotNull", entElement); in runTest() 87 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
|
D | textsplittextnomodificationallowederr.java | 80 assertNotNull("entRefNotNull", entRef); in runTest() 85 assertNotNull("createdEntRefNotNull", entRef); in runTest() 88 assertNotNull("entElementNotNull", entElement); in runTest() 90 assertNotNull("entElementTextNotNull", entElementText); in runTest()
|
D | nodesetnodevaluenomodificationallowederr.java | 80 assertNotNull("entRefNotNull", entRef); in runTest() 85 assertNotNull("createdEntRefNotNull", entRef); in runTest() 88 assertNotNull("entElementNotNull", entElement); in runTest() 90 assertNotNull("entElementTextNotNull", entElementText); in runTest()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | OldKeyPairGeneratorTestDH.java | 32 assertNotNull("no keypair generated", keyPair); in testKeyPairGenerator() 33 assertNotNull("no public key generated", keyPair.getPublic()); in testKeyPairGenerator() 34 assertNotNull("no private key generated", keyPair.getPrivate()); in testKeyPairGenerator()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CRLTest.java | 99 assertNotNull("File does not exist: " + name, is); in getCertificate() 102 assertNotNull(c); in getCertificate() 114 assertNotNull("File does not exist: " + name, is); in getCRL() 117 assertNotNull(crl); in getCRL() 293 assertNotNull(lastUpdate); in getThisUpdateNextUpdate() 294 assertNotNull(nextUpdate); in getThisUpdateNextUpdate() 307 assertNotNull(lastUpdate); in getThisUpdateNextUpdate() 308 assertNotNull(nextUpdate); in getThisUpdateNextUpdate() 388 assertNotNull(rsaEntry); in assertRsaCrlEntry() 402 assertNotNull(rsaEntry.toString()); in assertRsaCrlEntry() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLContextSpiTest.java | 19 import static org.junit.Assert.assertNotNull; 196 assertNotNull("Subtest_01: Object is NULL", ssl.engineCreateSSLEngine()); in commonTest_02() 198 assertNotNull("Subtest_02: Object is NULL", sleng); in commonTest_02() 228 assertNotNull(defaultParams); in getSslParameters() 230 assertNotNull(protocols); in getSslParameters() 233 assertNotNull(cipherSuites); in getSslParameters() 237 assertNotNull(supportedParams); in getSslParameters() 239 assertNotNull(protocols); in getSslParameters() 242 assertNotNull(cipherSuites); in getSslParameters()
|
D | SSLContext1Test.java | 113 assertNotNull("No SSLEngine created", in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String() 115 assertNotNull("No SSLEngine created", in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String() 150 assertNotNull("SSL engine is null", sslEngine); in test_createSSLEngine() 165 assertNotNull("SSL engine is null", sslEngine); in test_createSSLEngineLjava_lang_StringI() 180 assertNotNull("SSLContext objects were not created", sslC); in test_getClientSessionContext() 183 assertNotNull("Client session is incorrectly instantiated: " + i, in test_getClientSessionContext() 185 assertNotNull("Server session is incorrectly instantiated: " + i, in test_getClientSessionContext() 203 assertNotNull("No SSLContext created", sslContext); in test_getInstanceLjava_lang_String01() 320 assertNotNull("Not SSLContext created", sslContext); in test_getInstanceLjava_lang_StringLjava_lang_String04() 385 assertNotNull("Not SSLContext created", sslContext); in test_getInstanceLjava_lang_StringLjava_security_Provider03() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | IdentityScopeTest.java | 55 assertNotNull(new IdentityScopeStub("Aleksei Semenov").toString()); in testToString() 62 assertNotNull(new IdentityScopeStub()); in testIdentityScope() 70 assertNotNull(is); in testIdentityScopeString() 80 assertNotNull(is); in testIdentityScopeStringIdentityScope()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | UndeclaredThrowableExceptionTest.java | 31 assertNotNull(e); in test_UndeclaredThrowableException_LThrowable() 42 assertNotNull(e); in test_UndeclaredThrowableException_LThrowable_LString() 52 assertNotNull(e); in test_getUndeclaredThrowable()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronologyDisplayNameTest.java | 31 import static org.junit.Assert.assertNotNull; 55 assertNotNull(displayName); in testDisplayName() 64 assertNotNull(era); in testEras() 66 assertNotNull(displayName); in testEras()
|