Home
last modified time | relevance | path

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

12345678910>>...40

/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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/android/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java37 assertNull(spec.initialCapacity); in testParse_empty()
38 assertNull(spec.maximumSize); in testParse_empty()
39 assertNull(spec.maximumWeight); in testParse_empty()
40 assertNull(spec.concurrencyLevel); in testParse_empty()
41 assertNull(spec.keyStrength); in testParse_empty()
42 assertNull(spec.valueStrength); in testParse_empty()
43 assertNull(spec.writeExpirationTimeUnit); in testParse_empty()
44 assertNull(spec.accessExpirationTimeUnit); in testParse_empty()
51 assertNull(spec.maximumSize); in testParse_initialCapacity()
52 assertNull(spec.maximumWeight); in testParse_initialCapacity()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java37 assertNull(spec.initialCapacity); in testParse_empty()
38 assertNull(spec.maximumSize); in testParse_empty()
39 assertNull(spec.maximumWeight); in testParse_empty()
40 assertNull(spec.concurrencyLevel); in testParse_empty()
41 assertNull(spec.keyStrength); in testParse_empty()
42 assertNull(spec.valueStrength); in testParse_empty()
43 assertNull(spec.writeExpirationTimeUnit); in testParse_empty()
44 assertNull(spec.accessExpirationTimeUnit); in testParse_empty()
51 assertNull(spec.maximumSize); in testParse_initialCapacity()
52 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/guava/android/guava-tests/test/com/google/common/collect/
DMutableClassToInstanceMapTest.java95 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
113 assertNull(map.get(Integer.class)); in testNull()
114 assertNull(map.getInstance(Integer.class)); in testNull()
117 assertNull(map.get(Long.class)); in testNull()
118 assertNull(map.getInstance(Long.class)); in testNull()
122 assertNull(map.getInstance(int.class)); in testPrimitiveAndWrapper()
123 assertNull(map.getInstance(Integer.class)); in testPrimitiveAndWrapper()
125 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
126 assertNull(map.putInstance(Integer.class, 1)); in testPrimitiveAndWrapper()
135 assertNull(map.getInstance(int.class)); in testPrimitiveAndWrapper()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMutableClassToInstanceMapTest.java95 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
113 assertNull(map.get(Integer.class)); in testNull()
114 assertNull(map.getInstance(Integer.class)); in testNull()
117 assertNull(map.get(Long.class)); in testNull()
118 assertNull(map.getInstance(Long.class)); in testNull()
122 assertNull(map.getInstance(int.class)); in testPrimitiveAndWrapper()
123 assertNull(map.getInstance(Integer.class)); in testPrimitiveAndWrapper()
125 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
126 assertNull(map.putInstance(Integer.class, 1)); in testPrimitiveAndWrapper()
135 assertNull(map.getInstance(int.class)); in testPrimitiveAndWrapper()
[all …]
/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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DScalarConversionTest.java25 assertNull(MAPPER.convertValue(null, Byte.class)); in testConvertValueNullBoxed()
26 assertNull(MAPPER.convertValue(null, Short.class)); in testConvertValueNullBoxed()
27 assertNull(MAPPER.convertValue(null, Integer.class)); in testConvertValueNullBoxed()
28 assertNull(MAPPER.convertValue(null, Long.class)); in testConvertValueNullBoxed()
29 assertNull(MAPPER.convertValue(null, Float.class)); in testConvertValueNullBoxed()
30 assertNull(MAPPER.convertValue(null, Double.class)); in testConvertValueNullBoxed()
31 assertNull(MAPPER.convertValue(null, Character.class)); in testConvertValueNullBoxed()
32 assertNull(MAPPER.convertValue(null, Boolean.class)); in testConvertValueNullBoxed()

12345678910>>...40