Home
last modified time | relevance | path

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

12345678910>>...20

/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/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/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 junit.framework.TestCase.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/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 …]
DAbstractTableTest.java66 assertNull(table.put("foo", 1, 'a')); in testPut()
67 assertNull(table.put("bar", 1, 'b')); in testPut()
68 assertNull(table.put("foo", 3, 'c')); in testPut()
91 assertNull(table.put("cat", 2, null)); in testPutNull()
107 assertNull(table.get("bar", 1)); in testPutNullReplace()
134 assertNull(table.remove("cat", 1)); in testRemove()
135 assertNull(table.remove("bar", 3)); in testRemove()
141 assertNull(table.get("foo", 3)); in testRemove()
142 assertNull(table.remove(null, 1)); in testRemove()
143 assertNull(table.remove("foo", null)); in testRemove()
[all …]
/external/guice/core/test/com/google/inject/
DNullableInjectionPointTest.java60 assertNull(createInjector().getInstance(Foo.class)); in testGetInstanceOfNull()
66 assertNull(nfc.foo); in testInjectNullIntoNullableConstructor()
72 assertNull(nfm.foo); in testInjectNullIntoNullableMethod()
78 assertNull(nff.foo); in testInjectNullIntoNullableField()
84 assertNull(nfc.foo); in testInjectNullIntoCustomNullableConstructor()
90 assertNull(nfm.foo); in testInjectNullIntoCustomNullableMethod()
96 assertNull(nff.foo); in testInjectNullIntoCustomNullableField()
140 assertNull(injector.getInstance(NullableFooField.class).foo);
141 assertNull(injector.getInstance(CustomNullableFooField.class).foo);
161 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()
/external/guice/core/test/com/google/inject/spi/
DToolStageInjectorTest.java71 assertNull(Foo.s); in testToolStageDoesntInjectInstances()
72 assertNull(Foo.sm); in testToolStageDoesntInjectInstances()
73 assertNull(foo.f); in testToolStageDoesntInjectInstances()
74 assertNull(foo.m); in testToolStageDoesntInjectInstances()
86 assertNull(Foo.s); in testToolStageDoesntInjectProviders()
87 assertNull(Foo.sm); in testToolStageDoesntInjectProviders()
88 assertNull(foo.f); in testToolStageDoesntInjectProviders()
89 assertNull(foo.m); in testToolStageDoesntInjectProviders()
120 assertNull(Tooled.s); in testToolStageInjectsTooledMethods()
122 assertNull(tooled.f); in testToolStageInjectsTooledMethods()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DNotificationManagerTest.java14 import static org.junit.Assert.assertNull;
57 assertNull(shadowOf(notificationManager).getNotification(null)); in notifyWithTag_shouldReturnNullForNullTag()
64 assertNull(shadowOf(notificationManager).getNotification("unknown tag")); in notifyWithTag_shouldReturnNullForUnknownTag()
73 assertNull(shadowOf(notificationManager).getNotification(1)); in testCancel()
82 assertNull(shadowOf(notificationManager).getNotification(1)); in testCancelWithTag()
83 assertNull(shadowOf(notificationManager).getNotification("a tag")); in testCancelWithTag()
93 assertNull(shadowOf(notificationManager).getNotification(1)); in testCancelAll()
94 assertNull(shadowOf(notificationManager).getNotification(31)); in testCancelAll()

12345678910>>...20