Home
last modified time | relevance | path

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

12345678910>>...25

/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
DSelectorProviderTest.java34 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/
DOldJarEntryTest.java57 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/
DMapModeTest.java32 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/
DAsynchronousChannelProviderTest.java31 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/
DTypeNotPresentExceptionTest.java28 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/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionTest.java29 assertNotNull(s.invalid); in test_SSLSocket_TestSSLSessions_create()
46 assertNotNull(s.invalid.getCipherSuite()); in test_SSLSession_getCipherSuite()
48 assertNotNull(s.server.getCipherSuite()); in test_SSLSession_getCipherSuite()
49 assertNotNull(s.client.getCipherSuite()); in test_SSLSession_getCipherSuite()
80 assertNotNull(s.invalid.getId()); in test_SSLSession_getId()
81 assertNotNull(s.server.getId()); in test_SSLSession_getId()
82 assertNotNull(s.client.getId()); in test_SSLSession_getId()
114 assertNotNull(s.server.getLocalCertificates()); in test_SSLSession_getLocalCertificates()
127 assertNotNull(s.server.getLocalPrincipal()); in test_SSLSession_getLocalPrincipal()
128 assertNotNull(s.server.getLocalPrincipal().getName()); in test_SSLSession_getLocalPrincipal()
[all …]
DSSLContextTest.java57 assertNotNull(sslContext); in test_SSLContext_getDefault()
75 assertNotNull(oldContext); in test_SSLContext_setDefault()
77 assertNotNull(newContext); in test_SSLContext_setDefault()
213 assertNotNull(SSLContext.getInstance(protocol)); in test_SSLContext_getInstance()
245 assertNotNull(protocolName); in test_SSLContext_getProtocol()
252 assertNotNull(provider); in test_SSLContext_getProvider()
454 assertNotNull(sf); in test_SSLContext_getSocketFactory()
476 assertNotNull(ssf); in test_SSLContext_getServerSocketFactory()
510 assertNotNull(se); in test_SSLContext_createSSLEngine()
519 assertNotNull(se); in test_SSLContext_createSSLEngine()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DAnnotationTest.java27 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/
DMissingResourceExceptionTest.java33assertNotNull(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()
DNoSuchElementExceptionTest.java31 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/
DJarEntryTest.java73 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/
DCertStore2Test.java45 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/
Dattrsetvaluenomodificationallowederr.java86 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()
Dcharacterdataappenddatanomodificationallowederr.java77 assertNotNull("entReferenceNotNull", entReference); in runTest()
82 assertNotNull("createdEntRefNotNull", entReference); in runTest()
85 assertNotNull("entElementNotNull", entElement); in runTest()
87 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
Dcharacterdatainsertdatanomodificationallowederr.java77 assertNotNull("entReferenceNotNull", entReference); in runTest()
82 assertNotNull("createdEntRefNotNull", entReference); in runTest()
85 assertNotNull("entElementNotNull", entElement); in runTest()
87 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
Dcharacterdatareplacedatanomodificationallowederr.java78 assertNotNull("entReferenceNotNull", entReference); in runTest()
83 assertNotNull("createdEntRefNotNull", entReference); in runTest()
86 assertNotNull("entElementNotNull", entElement); in runTest()
88 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
Dcharacterdatasetdatanomodificationallowederr.java77 assertNotNull("entReferenceNotNull", entReference); in runTest()
82 assertNotNull("createdEntRefNotNull", entReference); in runTest()
85 assertNotNull("entElementNotNull", entElement); in runTest()
87 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
Dcharacterdatadeletedatanomodificationallowederr.java77 assertNotNull("entReferenceNotNull", entReference); in runTest()
82 assertNotNull("createdEntRefNotNull", entReference); in runTest()
85 assertNotNull("entElementNotNull", entElement); in runTest()
87 assertNotNull("entElementContentNotNull", entElementContent); in runTest()
Dnodesetnodevaluenomodificationallowederr.java80 assertNotNull("entRefNotNull", entRef); in runTest()
85 assertNotNull("createdEntRefNotNull", entRef); in runTest()
88 assertNotNull("entElementNotNull", entElement); in runTest()
90 assertNotNull("entElementTextNotNull", entElementText); in runTest()
Dtextsplittextnomodificationallowederr.java80 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/
DOldKeyPairGeneratorTestDH.java34 assertNotNull("no keypair generated", keyPair); in testKeyPairGenerator()
35 assertNotNull("no public key generated", keyPair.getPublic()); in testKeyPairGenerator()
36 assertNotNull("no private key generated", keyPair.getPrivate()); in testKeyPairGenerator()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DUndeclaredThrowableExceptionTest.java31 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/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java55 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/support/src/test/java/tests/security/
DKeyPairGeneratorTest.java46 assertNotNull("no keypair generated", keyPair); in testKeyPairGenerator()
47 assertNotNull("no public key generated", keyPair.getPublic()); in testKeyPairGenerator()
48 assertNotNull("no private key generated", keyPair.getPrivate()); in testKeyPairGenerator()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CRLTest.java83 assertNotNull("File does not exist: " + name, is); in getCertificate()
86 assertNotNull(c); in getCertificate()
98 assertNotNull("File does not exist: " + name, is); in getCRL()
101 assertNotNull(crl); in getCRL()
277 assertNotNull(lastUpdate); in getThisUpdateNextUpdate()
278 assertNotNull(nextUpdate); in getThisUpdateNextUpdate()
291 assertNotNull(lastUpdate); in getThisUpdateNextUpdate()
292 assertNotNull(nextUpdate); in getThisUpdateNextUpdate()
372 assertNotNull(rsaEntry); in assertRsaCrlEntry()
386 assertNotNull(rsaEntry.toString()); in assertRsaCrlEntry()
[all …]

12345678910>>...25