Home
last modified time | relevance | path

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

12345678910>>...25

/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DSQLTransientConnectionExceptionTest.java46 assertNull( in test_Constructor_LString()
64 assertNull( in test_Constructor_LString_1()
67 assertNull( in test_Constructor_LString_1()
101 assertNull( in test_Constructor_LStringLString_1()
122 assertNull( in test_Constructor_LStringLString_2()
137 assertNull( in test_Constructor_LStringLString_3()
140 assertNull( in test_Constructor_LStringLString_3()
209 assertNull( in test_Constructor_LStringLStringI_3()
227 assertNull( in test_Constructor_LStringLStringI_4()
245 assertNull( in test_Constructor_LStringLStringI_5()
[all …]
DSQLTimeoutExceptionTest.java46 assertNull("The SQLState of SQLTimeoutException should be null", in test_Constructor_LString()
62 assertNull("The SQLState of SQLTimeoutException should be null", in test_Constructor_LString_1()
64 assertNull("The reason of SQLTimeoutException should be null", in test_Constructor_LString_1()
95 assertNull("The SQLState of SQLTimeoutException should be null", in test_Constructor_LStringLString_1()
114 assertNull("The reason of SQLTimeoutException should be null", in test_Constructor_LStringLString_2()
127 assertNull("The SQLState of SQLTimeoutException should be null", in test_Constructor_LStringLString_3()
129 assertNull("The reason of SQLTimeoutException should be null", in test_Constructor_LStringLString_3()
193 assertNull("The SQLState of SQLTimeoutException should be null", in test_Constructor_LStringLStringI_3()
209 assertNull("The SQLState of SQLTimeoutException should be null", in test_Constructor_LStringLStringI_4()
225 assertNull("The SQLState of SQLTimeoutException should be null", in test_Constructor_LStringLStringI_5()
[all …]
DSQLTransientExceptionTest.java46 assertNull("The SQLState of SQLTransientException should be null", in test_Constructor_LString()
62 assertNull("The SQLState of SQLTransientException should be null", in test_Constructor_LString_1()
64 assertNull("The reason of SQLTransientException should be null", in test_Constructor_LString_1()
95 assertNull("The SQLState of SQLTransientException should be null", in test_Constructor_LStringLString_1()
114 assertNull("The reason of SQLTransientException should be null", in test_Constructor_LStringLString_2()
127 assertNull("The SQLState of SQLTransientException should be null", in test_Constructor_LStringLString_3()
129 assertNull("The reason of SQLTransientException should be null", in test_Constructor_LStringLString_3()
193 assertNull("The SQLState of SQLTransientException should be null", in test_Constructor_LStringLStringI_3()
209 assertNull("The SQLState of SQLTransientException should be null", in test_Constructor_LStringLStringI_4()
225 assertNull("The SQLState of SQLTransientException should be null", in test_Constructor_LStringLStringI_5()
[all …]
DSQLNonTransientExceptionTest.java46 assertNull("The SQLState of SQLNonTransientException should be null", in test_Constructor_LString()
62 assertNull("The SQLState of SQLNonTransientException should be null", in test_Constructor_LString_1()
64 assertNull("The reason of SQLNonTransientException should be null", in test_Constructor_LString_1()
95 assertNull("The SQLState of SQLNonTransientException should be null", in test_Constructor_LStringLString_1()
114 assertNull("The reason of SQLNonTransientException should be null", in test_Constructor_LStringLString_2()
127 assertNull("The SQLState of SQLNonTransientException should be null", in test_Constructor_LStringLString_3()
129 assertNull("The reason of SQLNonTransientException should be null", in test_Constructor_LStringLString_3()
193 assertNull("The SQLState of SQLNonTransientException should be null", in test_Constructor_LStringLStringI_3()
209 assertNull("The SQLState of SQLNonTransientException should be null", in test_Constructor_LStringLStringI_4()
225 assertNull("The SQLState of SQLNonTransientException should be null", in test_Constructor_LStringLStringI_5()
[all …]
DSQLNonTransientConnectionExceptionTest.java46 assertNull( in test_Constructor_LString()
64 assertNull( in test_Constructor_LString_1()
67 assertNull( in test_Constructor_LString_1()
103 assertNull( in test_Constructor_LStringLString_1()
125 assertNull( in test_Constructor_LStringLString_2()
140 assertNull( in test_Constructor_LStringLString_3()
143 assertNull( in test_Constructor_LStringLString_3()
218 assertNull( in test_Constructor_LStringLStringI_3()
236 assertNull( in test_Constructor_LStringLStringI_4()
254 assertNull( in test_Constructor_LStringLStringI_5()
[all …]
DSQLRecoverableExceptionTest.java46 assertNull("The SQLState of SQLRecoverableException should be null", in test_Constructor_LString()
62 assertNull("The SQLState of SQLRecoverableException should be null", in test_Constructor_LString_1()
64 assertNull("The reason of SQLRecoverableException should be null", in test_Constructor_LString_1()
95 assertNull("The SQLState of SQLRecoverableException should be null", in test_Constructor_LStringLString_1()
114 assertNull("The reason of SQLRecoverableException should be null", in test_Constructor_LStringLString_2()
127 assertNull("The SQLState of SQLRecoverableException should be null", in test_Constructor_LStringLString_3()
129 assertNull("The reason of SQLRecoverableException should be null", in test_Constructor_LStringLString_3()
193 assertNull("The SQLState of SQLRecoverableException should be null", in test_Constructor_LStringLStringI_3()
209 assertNull("The SQLState of SQLRecoverableException should be null", in test_Constructor_LStringLStringI_4()
225 assertNull("The SQLState of SQLRecoverableException should be null", in test_Constructor_LStringLStringI_5()
[all …]
DSQLDataExceptionTest.java45 assertNull("The SQLState of SQLDataException should be null", in test_Constructor_LString()
60 assertNull("The SQLState of SQLDataException should be null", in test_Constructor_LString_1()
62 assertNull("The reason of SQLDataException should be null", in test_Constructor_LString_1()
93 assertNull("The SQLState of SQLDataException should be null", in test_Constructor_LStringLString_1()
112 assertNull("The reason of SQLDataException should be null", in test_Constructor_LStringLString_2()
125 assertNull("The SQLState of SQLDataException should be null", in test_Constructor_LStringLString_3()
127 assertNull("The reason of SQLDataException should be null", in test_Constructor_LStringLString_3()
191 assertNull("The SQLState of SQLDataException should be null", in test_Constructor_LStringLStringI_3()
207 assertNull("The SQLState of SQLDataException should be null", in test_Constructor_LStringLStringI_4()
223 assertNull("The SQLState of SQLDataException should be null", in test_Constructor_LStringLStringI_5()
[all …]
DSQLInvalidAuthorizationSpecExceptionTest.java46 assertNull( in test_Constructor_LString()
65 assertNull( in test_Constructor_LString_1()
68 assertNull( in test_Constructor_LString_1()
104 assertNull( in test_Constructor_LStringLString_1()
127 assertNull( in test_Constructor_LStringLString_2()
142 assertNull( in test_Constructor_LStringLString_3()
145 assertNull( in test_Constructor_LStringLString_3()
220 assertNull( in test_Constructor_LStringLStringI_3()
239 assertNull( in test_Constructor_LStringLStringI_4()
258 assertNull( in test_Constructor_LStringLStringI_5()
[all …]
DSQLSyntaxErrorExceptionTest.java46 assertNull("The SQLState of SQLSyntaxErrorException should be null", in test_Constructor_LString()
62 assertNull("The SQLState of SQLSyntaxErrorException should be null", in test_Constructor_LString_1()
64 assertNull("The reason of SQLSyntaxErrorException should be null", in test_Constructor_LString_1()
95 assertNull("The SQLState of SQLSyntaxErrorException should be null", in test_Constructor_LStringLString_1()
114 assertNull("The reason of SQLSyntaxErrorException should be null", in test_Constructor_LStringLString_2()
127 assertNull("The SQLState of SQLSyntaxErrorException should be null", in test_Constructor_LStringLString_3()
129 assertNull("The reason of SQLSyntaxErrorException should be null", in test_Constructor_LStringLString_3()
193 assertNull("The SQLState of SQLSyntaxErrorException should be null", in test_Constructor_LStringLStringI_3()
209 assertNull("The SQLState of SQLSyntaxErrorException should be null", in test_Constructor_LStringLStringI_4()
225 assertNull("The SQLState of SQLSyntaxErrorException should be null", in test_Constructor_LStringLStringI_5()
[all …]
DSQLIntegrityConstraintViolationExceptionTest.java46 assertNull( in test_Constructor_LString()
65 assertNull( in test_Constructor_LString_1()
68 assertNull( in test_Constructor_LString_1()
104 assertNull( in test_Constructor_LStringLString_1()
127 assertNull( in test_Constructor_LStringLString_2()
142 assertNull( in test_Constructor_LStringLString_3()
145 assertNull( in test_Constructor_LStringLString_3()
224 assertNull( in test_Constructor_LStringLStringI_3()
244 assertNull( in test_Constructor_LStringLStringI_4()
264 assertNull( in test_Constructor_LStringLStringI_5()
[all …]
DSQLTransactionRollbackExceptionTest.java46 assertNull( in test_Constructor_LString()
64 assertNull( in test_Constructor_LString_1()
67 assertNull( in test_Constructor_LString_1()
101 assertNull( in test_Constructor_LStringLString_1()
122 assertNull( in test_Constructor_LStringLString_2()
137 assertNull( in test_Constructor_LStringLString_3()
140 assertNull( in test_Constructor_LStringLString_3()
209 assertNull( in test_Constructor_LStringLStringI_3()
227 assertNull( in test_Constructor_LStringLStringI_4()
245 assertNull( in test_Constructor_LStringLStringI_5()
[all …]
DSQLFeatureNotSupportedExceptionTest.java46 assertNull( in test_Constructor_LString()
64 assertNull( in test_Constructor_LString_1()
67 assertNull( in test_Constructor_LString_1()
101 assertNull( in test_Constructor_LStringLString_1()
122 assertNull( in test_Constructor_LStringLString_2()
137 assertNull( in test_Constructor_LStringLString_3()
140 assertNull( in test_Constructor_LStringLString_3()
209 assertNull( in test_Constructor_LStringLStringI_3()
227 assertNull( in test_Constructor_LStringLStringI_4()
245 assertNull( in test_Constructor_LStringLStringI_5()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java39 assertNull(spec.initialCapacity); in testParse_empty()
40 assertNull(spec.maximumSize); in testParse_empty()
41 assertNull(spec.maximumWeight); in testParse_empty()
42 assertNull(spec.concurrencyLevel); in testParse_empty()
43 assertNull(spec.keyStrength); in testParse_empty()
44 assertNull(spec.valueStrength); in testParse_empty()
45 assertNull(spec.writeExpirationTimeUnit); in testParse_empty()
46 assertNull(spec.accessExpirationTimeUnit); in testParse_empty()
53 assertNull(spec.maximumSize); in testParse_initialCapacity()
54 assertNull(spec.maximumWeight); in testParse_initialCapacity()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DNullTagTest.java37 assertNull("Got: '" + load("---\n") + "'", load("---\n")); in testNull()
38 assertNull(load("---\n...")); in testNull()
39 assertNull(load("---\n...\n")); in testNull()
40 assertNull(load("\n")); in testNull()
41 assertNull(load("")); in testNull()
42 assertNull(load(" ")); in testNull()
43 assertNull(load("~")); in testNull()
44 assertNull(load("---\n~")); in testNull()
45 assertNull(load("null")); in testNull()
46 assertNull(load("Null")); in testNull()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DMutableHandlerRegistryTest.java22 import static org.junit.Assert.assertNull;
111 assertNull(registry.addService(basicServiceDefinition)); in simpleLookup()
115 assertNull(registry.lookupMethod("/basic/flow")); in simpleLookup()
116 assertNull(registry.lookupMethod("basic/basic")); in simpleLookup()
117 assertNull(registry.lookupMethod("flow/flow")); in simpleLookup()
118 assertNull(registry.lookupMethod("completely/random")); in simpleLookup()
131 assertNull(registry.addService(bindableService)); in simpleLookupWithBindable()
139 assertNull(registry.addService(basicServiceDefinition)); in multiServiceLookup()
140 assertNull(registry.addService(multiServiceDefinition)); in multiServiceLookup()
152 assertNull(registry.addService(multiServiceDefinition)); in removeAndLookup()
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogRecordTest.java60 assertNull(r.getMessage()); in testLogRecordWithNullPointers()
64 assertNull(lr.getLoggerName()); in testGetSetLoggerName()
66 assertNull(lr.getLoggerName()); in testGetSetLoggerName()
72 assertNull(lr.getResourceBundleName()); in testGetSetResourceBundle()
73 assertNull(lr.getResourceBundle()); in testGetSetResourceBundle()
76 assertNull(lr.getResourceBundle()); in testGetSetResourceBundle()
79 assertNull(lr.getResourceBundle()); in testGetSetResourceBundle()
86 assertNull(lr.getResourceBundleName()); in testGetSetResourceBundle()
90 assertNull(lr.getResourceBundleName()); in testGetSetResourceBundleName()
92 assertNull(lr.getResourceBundleName()); in testGetSetResourceBundleName()
[all …]
DLoggerTest.java102 assertNull(Logger.global.getFilter()); in testGlobalLogger()
104 assertNull(Logger.global.getLevel()); in testGlobalLogger()
106 assertNull(Logger.global.getParent().getParent()); in testGlobalLogger()
107 assertNull(Logger.global.getResourceBundle()); in testGlobalLogger()
108 assertNull(Logger.global.getResourceBundleName()); in testGlobalLogger()
122 assertNull(mlog.getFilter()); in testConstructor_Normal()
124 assertNull(mlog.getLevel()); in testConstructor_Normal()
126 assertNull(mlog.getParent()); in testConstructor_Normal()
138 assertNull(mlog.getFilter()); in testConstructor_Null()
140 assertNull(mlog.getLevel()); in testConstructor_Null()
[all …]
DLogManagerTest.java110 assertNull(foo); in testAddGetLogger()
114 assertNull(foo.getParent()); in testAddGetLogger()
128 assertNull(mockManager.getLogger("bad name")); in testAddGetLogger()
167 assertNull(foo.getParent()); in testAddGetLogger_Hierachy()
168 assertNull(child.getParent()); in testAddGetLogger_Hierachy()
169 assertNull(grandson.getParent()); in testAddGetLogger_Hierachy()
170 assertNull(otherChild.getParent()); in testAddGetLogger_Hierachy()
175 assertNull(child.getParent()); in testAddGetLogger_Hierachy()
178 assertNull(fakeChild.getParent()); in testAddGetLogger_Hierachy()
185 assertNull(foo.getParent()); in testAddGetLogger_Hierachy()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DOptionalMethodTest.java27 import static org.junit.Assert.assertNull;
154 assertNull(VOID_METHOD_RETURNS_ANY.invoke(base)); in invoke()
155 assertNull(VOID_METHOD_RETURNS_VOID.invoke(base)); in invoke()
167 assertNull(VOID_METHOD_RETURNS_ANY.invoke(subClass1)); in invoke()
168 assertNull(VOID_METHOD_RETURNS_VOID.invoke(subClass1)); in invoke()
181 assertNull(VOID_METHOD_RETURNS_ANY.invoke(subClass2)); in invoke()
182 assertNull(VOID_METHOD_RETURNS_VOID.invoke(subClass2)); in invoke()
230 assertNull(STRING_METHOD_RETURNS_INT.invokeOptional(base)); in invokeOptional()
231 assertNull(VOID_METHOD_RETURNS_ANY.invokeOptional(base)); in invokeOptional()
232 assertNull(VOID_METHOD_RETURNS_VOID.invokeOptional(base)); in invokeOptional()
[all …]
/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
DPluginFileReaderTest.java15 import static org.junit.Assert.assertNull;
24 assertNull(reader.readPluginClass(impl(""))); in no_class_in_resource()
25 assertNull(reader.readPluginClass(impl(" "))); in no_class_in_resource()
26 assertNull(reader.readPluginClass(impl(" \n "))); in no_class_in_resource()
29 assertNull(reader.readPluginClass(impl("#foo"))); in no_class_in_resource()
30 assertNull(reader.readPluginClass(impl(" # foo "))); in no_class_in_resource()
31 assertNull(reader.readPluginClass(impl(" # # # java.langString # "))); in no_class_in_resource()
32 assertNull(reader.readPluginClass(impl(" \n # foo \n # foo \n "))); in no_class_in_resource()
/external/dexmaker/dexmaker-mockito-inline-tests/src/main/java/com/android/dx/mockito/inline/tests/
DMockFinal.java20 import static org.junit.Assert.assertNull;
44 assertNull(mockClassLoader.getParent()); in mockFinalJavaMethod()
69 assertNull(mockService.onBind(new Intent())); in mockFinalMethodOfAndroidFrameworkClass()
90 assertNull(mock.returnA()); in mockNonDefaultConstructorClass()
104 assertNull(mock.returnA()); in mockNonDefaultConstructorInterface()
139 assertNull(mocked.returnA()); in mockSubClass()
140 assertNull(mocked.returnB()); in mockSubClass()
141 assertNull(mocked.returnC()); in mockSubClass()
142 assertNull(mockedSuper.returnA()); in mockSubClass()
143 assertNull(mockedSuper.returnB()); in mockSubClass()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZip64ExtendedInformationExtraFieldTest.java94 assertNull(f.getRelativeHeaderOffset()); in testReadLFHSizesOnly()
95 assertNull(f.getDiskStartNumber()); in testReadLFHSizesOnly()
110 assertNull(f.getDiskStartNumber()); in testReadLFHSizesAndOffset()
140 assertNull(f.getRelativeHeaderOffset()); in testReadLFHSizesAndDisk()
172 assertNull(f.getDiskStartNumber()); in testReadCDSizesAndOffset()
183 assertNull(f.getSize()); in testReadCDSomethingAndDisk()
184 assertNull(f.getCompressedSize()); in testReadCDSomethingAndDisk()
185 assertNull(f.getRelativeHeaderOffset()); in testReadCDSomethingAndDisk()
198 assertNull(f.getCompressedSize()); in testReparseCDSingleEightByteData()
199 assertNull(f.getRelativeHeaderOffset()); in testReparseCDSingleEightByteData()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMutableClassToInstanceMapTest.java110 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
128 assertNull(map.get(Integer.class)); in testNull()
129 assertNull(map.getInstance(Integer.class)); in testNull()
132 assertNull(map.get(Long.class)); in testNull()
133 assertNull(map.getInstance(Long.class)); in testNull()
137 assertNull(map.getInstance(int.class)); in testPrimitiveAndWrapper()
138 assertNull(map.getInstance(Integer.class)); in testPrimitiveAndWrapper()
140 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
141 assertNull(map.putInstance(Integer.class, 1)); in testPrimitiveAndWrapper()
150 assertNull(map.getInstance(int.class)); in testPrimitiveAndWrapper()
[all …]
/external/guice/core/test/com/google/inject/
DNullableInjectionPointTest.java62 assertNull(createInjector().getInstance(Foo.class)); in testGetInstanceOfNull()
67 assertNull(nfc.foo); in testInjectNullIntoNullableConstructor()
72 assertNull(nfm.foo); in testInjectNullIntoNullableMethod()
77 assertNull(nff.foo); in testInjectNullIntoNullableField()
83 assertNull(nfc.foo); in testInjectNullIntoCustomNullableConstructor()
88 assertNull(nfm.foo); in testInjectNullIntoCustomNullableMethod()
93 assertNull(nff.foo); in testInjectNullIntoCustomNullableField()
135 assertNull(injector.getInstance(NullableFooField.class).foo);
136 assertNull(injector.getInstance(CustomNullableFooField.class).foo);
155 assertNull(injector.getInstance(NullableFooField.class).foo);
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
DCompactConstructorTest.java24 assertNull(flow.getCompactData("scalar")); in testNoCompactData()
25 assertNull(flow.getCompactData("123")); in testNoCompactData()
26 assertNull(flow.getCompactData("(name=frame,title=My Frame)")); in testNoCompactData()
27 assertNull(flow.getCompactData("JFrame name=frame,title=My Frame)")); in testNoCompactData()
28 assertNull(flow.getCompactData("JFrame name=frame,title=My Frame")); in testNoCompactData()
29 assertNull(flow.getCompactData("JFrame(name=frame,title=My Frame")); in testNoCompactData()
30 assertNull(flow.getCompactData("JFrame(name=frame,title=My Frame)b")); in testNoCompactData()
31 assertNull(flow.getCompactData("JFrame(name=frame,title=My Frame) ")); in testNoCompactData()
32 assertNull(flow.getCompactData("JFrame(name=)")); in testNoCompactData()
33 assertNull(flow.getCompactData("JFrame(=name)")); in testNoCompactData()

12345678910>>...25