Searched refs:assertNotNull (Results 1 - 25 of 560) sorted by relevance

1234567891011>>

/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
H A DSelectorProviderTest.java34 assertNotNull(SelectorProvider.provider());
39 assertNotNull(SelectorProvider.provider().openDatagramChannel());
40 assertNotNull(SelectorProvider.provider().openPipe());
41 assertNotNull(SelectorProvider.provider().openServerSocketChannel());
42 assertNotNull(SelectorProvider.provider().openSocketChannel());
43 assertNotNull(SelectorProvider.provider().openSelector());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DMapModeTest.java32 assertNotNull(FileChannel.MapMode.PRIVATE);
33 assertNotNull(FileChannel.MapMode.READ_ONLY);
34 assertNotNull(FileChannel.MapMode.READ_WRITE);
48 assertNotNull(FileChannel.MapMode.PRIVATE.toString());
49 assertNotNull(FileChannel.MapMode.READ_ONLY.toString());
50 assertNotNull(FileChannel.MapMode.READ_WRITE.toString());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DAnnotationTest.java27 assertNotNull(new Annotation(null));
28 assertNotNull(new Annotation("value"));
42 assertNotNull(new Annotation(null).toString());
43 assertNotNull(new Annotation("value").toString());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DTypeNotPresentExceptionTest.java28 assertNotNull(e);
30 assertNotNull(m);
33 assertNotNull(e);
35 assertNotNull(m);
39 assertNotNull(e.getMessage());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DUndeclaredThrowableExceptionTest.java31 assertNotNull(e);
42 assertNotNull(e);
52 assertNotNull(e);
H A DMalformedParameterizedTypeExceptionTests.java15 assertNotNull("Parameterless constructor does not exist.", ctor);
18 assertNotNull(ctor.newInstance());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DNoSuchElementExceptionTest.java31 assertNotNull(new NoSuchElementException());
48 assertNotNull(new NoSuchElementException("String"));
49 assertNotNull(new NoSuchElementException(null));
H A DMissingResourceExceptionTest.java33 assertNotNull(new MissingResourceException("Detail string", "Class name string", "Key string"));
34 assertNotNull(new MissingResourceException(null, "Class name string", "Key string"));
35 assertNotNull(new MissingResourceException("Detail string", null, "Key string"));
36 assertNotNull(new MissingResourceException("Detail string", "Class name string", null));
/libcore/luni/src/test/java/libcore/java/security/
H A DOldKeyPairGeneratorTestDH.java34 assertNotNull("no keypair generated", keyPair);
35 assertNotNull("no public key generated", keyPair.getPublic());
36 assertNotNull("no private key generated", keyPair.getPrivate());
/libcore/luni/src/test/java/libcore/java/util/
H A DOldEventListenerProxyTest.java36 assertNotNull(new Mock_EventListenerProxy(null));
37 assertNotNull(new Mock_EventListenerProxy(new Mock_EventListener()));
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DOldJarEntryTest.java57 assertNotNull(newJarEntry);
72 assertNotNull("Jar file is null", jarFile);
74 assertNotNull("Zip entry is null", zipEntry);
76 assertNotNull("Jar entry is null", jarEntry);
102 assertNotNull("Jar file is null", jarFile);
104 assertNotNull("Zip entry is null", zipEntry);
106 assertNotNull("Jar entry is null", jarEntry);
128 assertNotNull("Jar file is null", jarFile);
130 assertNotNull("Jar entry is null", je);
132 assertNotNull("Ja
[all...]
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dnodeentitynodeattributes.java66 assertNotNull("docTypeNotNull", docType);
68 assertNotNull("entitiesNotNull", entities);
70 assertNotNull("ent1NotNull", entityNode);
H A Dnodeentitynodename.java65 assertNotNull("docTypeNotNull", docType);
67 assertNotNull("entitiesNotNull", entities);
69 assertNotNull("entityNodeNotNull", entityNode);
H A Dnodeentitynodetype.java66 assertNotNull("docTypeNotNull", docType);
68 assertNotNull("entitiesNotNull", entities);
70 assertNotNull("ent1NotNull", entityNode);
H A Dnodeentitynodevalue.java66 assertNotNull("docTypeNotNull", docType);
68 assertNotNull("entitiesNotNull", entities);
70 assertNotNull("ent1NotNull", entityNode);
H A Dnodeentitysetnodevalue.java66 assertNotNull("docTypeNotNull", docType);
68 assertNotNull("entitiesNotNull", entities);
70 assertNotNull("ent1NotNull", entityNode);
H A Dnodenotationnodeattributes.java69 assertNotNull("docTypeNotNull", docType);
71 assertNotNull("notationsNotNull", notations);
73 assertNotNull("notationNotNull", notationNode);
H A Dnodenotationnodename.java70 assertNotNull("docTypeNotNull", docType);
72 assertNotNull("notationsNotNull", notations);
74 assertNotNull("notationNotNull", notationNode);
H A Dnodenotationnodetype.java69 assertNotNull("docTypeNotNull", docType);
71 assertNotNull("notationsNotNull", notations);
73 assertNotNull("notationNotNull", notationNode);
H A Dnodenotationnodevalue.java70 assertNotNull("docTypeNotNull", docType);
72 assertNotNull("notationsNotNull", notations);
74 assertNotNull("notationNotNull", notationNode);
H A Dcharacterdataappenddatanomodificationallowederr.java77 assertNotNull("entReferenceNotNull", entReference);
82 assertNotNull("createdEntRefNotNull", entReference);
85 assertNotNull("entElementNotNull", entElement);
87 assertNotNull("entElementContentNotNull", entElementContent);
H A Dcharacterdatadeletedatanomodificationallowederr.java77 assertNotNull("entReferenceNotNull", entReference);
82 assertNotNull("createdEntRefNotNull", entReference);
85 assertNotNull("entElementNotNull", entElement);
87 assertNotNull("entElementContentNotNull", entElementContent);
H A Dcharacterdatainsertdatanomodificationallowederr.java77 assertNotNull("entReferenceNotNull", entReference);
82 assertNotNull("createdEntRefNotNull", entReference);
85 assertNotNull("entElementNotNull", entElement);
87 assertNotNull("entElementContentNotNull", entElementContent);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCodingErrorActionTest.java46 assertNotNull(CodingErrorAction.IGNORE);
47 assertNotNull(CodingErrorAction.REPLACE);
48 assertNotNull(CodingErrorAction.REPORT);
/libcore/support/src/test/java/tests/security/
H A DKeyPairGeneratorTest.java46 assertNotNull("no keypair generated", keyPair);
47 assertNotNull("no public key generated", keyPair.getPublic());
48 assertNotNull("no private key generated", keyPair.getPrivate());

Completed in 569 milliseconds

1234567891011>>