Home
last modified time | relevance | path

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

12345678910>>...20

/external/volley/src/test/java/com/android/volley/toolbox/
DRequestTest.java24 import static org.junit.Assert.assertNotNull;
32 assertNotNull(Request.class.getConstructor(int.class, String.class, in publicMethods()
35 assertNotNull(Request.class.getMethod("getMethod")); in publicMethods()
36 assertNotNull(Request.class.getMethod("setTag", Object.class)); in publicMethods()
37 assertNotNull(Request.class.getMethod("getTag")); in publicMethods()
38 assertNotNull(Request.class.getMethod("getErrorListener")); in publicMethods()
39 assertNotNull(Request.class.getMethod("getTrafficStatsTag")); in publicMethods()
40 assertNotNull(Request.class.getMethod("setRetryPolicy", RetryPolicy.class)); in publicMethods()
41 assertNotNull(Request.class.getMethod("addMarker", String.class)); in publicMethods()
42 assertNotNull(Request.class.getDeclaredMethod("finish", String.class)); in publicMethods()
[all …]
DRequestQueueTest.java24 import static org.junit.Assert.assertNotNull;
32 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class, in publicMethods()
34 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class)); in publicMethods()
35 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class)); in publicMethods()
37 assertNotNull(RequestQueue.class.getMethod("start")); in publicMethods()
38 assertNotNull(RequestQueue.class.getMethod("stop")); in publicMethods()
39 assertNotNull(RequestQueue.class.getMethod("getSequenceNumber")); in publicMethods()
40 assertNotNull(RequestQueue.class.getMethod("getCache")); in publicMethods()
41 assertNotNull(RequestQueue.class.getMethod("cancelAll", RequestQueue.RequestFilter.class)); in publicMethods()
42 assertNotNull(RequestQueue.class.getMethod("cancelAll", Object.class)); in publicMethods()
[all …]
DResponseTest.java29 import static org.junit.Assert.assertNotNull;
37 assertNotNull(Response.class.getMethod("success", Object.class, Cache.Entry.class)); in publicMethods()
38 assertNotNull(Response.class.getMethod("error", VolleyError.class)); in publicMethods()
39 assertNotNull(Response.class.getMethod("isSuccess")); in publicMethods()
41 assertNotNull(Response.Listener.class.getDeclaredMethod("onResponse", Object.class)); in publicMethods()
43 assertNotNull(Response.ErrorListener.class.getDeclaredMethod("onErrorResponse", in publicMethods()
46 assertNotNull(NetworkResponse.class.getConstructor(int.class, byte[].class, Map.class, in publicMethods()
48 assertNotNull(NetworkResponse.class.getConstructor(int.class, byte[].class, Map.class, in publicMethods()
50 assertNotNull(NetworkResponse.class.getConstructor(byte[].class)); in publicMethods()
51 assertNotNull(NetworkResponse.class.getConstructor(byte[].class, Map.class)); in publicMethods()
DCacheTest.java24 import static org.junit.Assert.assertNotNull;
32 assertNotNull(Cache.class.getMethod("get", String.class)); in publicMethods()
33 assertNotNull(Cache.class.getMethod("put", String.class, Cache.Entry.class)); in publicMethods()
34 assertNotNull(Cache.class.getMethod("initialize")); in publicMethods()
35 assertNotNull(Cache.class.getMethod("invalidate", String.class, boolean.class)); in publicMethods()
36 assertNotNull(Cache.class.getMethod("remove", String.class)); in publicMethods()
37 assertNotNull(Cache.class.getMethod("clear")); in publicMethods()
DImageLoaderTest.java29 import static org.junit.Assert.assertNotNull;
81 assertNotNull(ImageLoader.class.getConstructor(RequestQueue.class, in publicMethods()
84 assertNotNull(ImageLoader.class.getMethod("getImageListener", ImageView.class, in publicMethods()
86 assertNotNull(ImageLoader.class.getMethod("isCached", String.class, int.class, int.class)); in publicMethods()
87 assertNotNull(ImageLoader.class.getMethod("isCached", String.class, int.class, int.class, in publicMethods()
89 assertNotNull(ImageLoader.class.getMethod("get", String.class, in publicMethods()
91 assertNotNull(ImageLoader.class.getMethod("get", String.class, in publicMethods()
93 assertNotNull(ImageLoader.class.getMethod("get", String.class, in publicMethods()
95 assertNotNull(ImageLoader.class.getMethod("setBatchedResponseDelay", int.class)); in publicMethods()
97 assertNotNull(ImageLoader.ImageListener.class.getMethod("onResponse", in publicMethods()
DJsonRequestTest.java26 import static org.junit.Assert.assertNotNull;
34 assertNotNull(JsonRequest.class.getConstructor(String.class, String.class, in publicMethods()
36 assertNotNull(JsonRequest.class.getConstructor(int.class, String.class, String.class, in publicMethods()
39 assertNotNull(JsonArrayRequest.class.getConstructor(String.class, in publicMethods()
41assertNotNull(JsonArrayRequest.class.getConstructor(int.class, String.class, JSONArray.class, in publicMethods()
44 assertNotNull(JsonObjectRequest.class.getConstructor(String.class, JSONObject.class, in publicMethods()
46 assertNotNull(JsonObjectRequest.class.getConstructor(int.class, String.class, in publicMethods()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DSQLFeatureNotSupportedExceptionTest.java45 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LString()
63 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LString_1()
81 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LStringLString()
100 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LStringLString_1()
118 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LStringLString_2()
136 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LStringLString_3()
154 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LStringLStringI()
172 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LStringLStringI_1()
190 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LStringLStringI_2()
208 assertNotNull(sQLFeatureNotSupportedException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLNonTransientExceptionTest.java45 assertNotNull(sQLNonTransientException); in test_Constructor_LString()
61 assertNotNull(sQLNonTransientException); in test_Constructor_LString_1()
76 assertNotNull(sQLNonTransientException); in test_Constructor_LStringLString()
94 assertNotNull(sQLNonTransientException); in test_Constructor_LStringLString_1()
110 assertNotNull(sQLNonTransientException); in test_Constructor_LStringLString_2()
126 assertNotNull(sQLNonTransientException); in test_Constructor_LStringLString_3()
141 assertNotNull(sQLNonTransientException); in test_Constructor_LStringLStringI()
158 assertNotNull(sQLNonTransientException); in test_Constructor_LStringLStringI_1()
175 assertNotNull(sQLNonTransientException); in test_Constructor_LStringLStringI_2()
192 assertNotNull(sQLNonTransientException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLTransactionRollbackExceptionTest.java45 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LString()
63 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LString_1()
81 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LStringLString()
100 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LStringLString_1()
118 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LStringLString_2()
136 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LStringLString_3()
154 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LStringLStringI()
172 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LStringLStringI_1()
190 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LStringLStringI_2()
208 assertNotNull(sQLTransactionRollbackException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLRecoverableExceptionTest.java45 assertNotNull(sQLRecoverableException); in test_Constructor_LString()
61 assertNotNull(sQLRecoverableException); in test_Constructor_LString_1()
76 assertNotNull(sQLRecoverableException); in test_Constructor_LStringLString()
94 assertNotNull(sQLRecoverableException); in test_Constructor_LStringLString_1()
110 assertNotNull(sQLRecoverableException); in test_Constructor_LStringLString_2()
126 assertNotNull(sQLRecoverableException); in test_Constructor_LStringLString_3()
141 assertNotNull(sQLRecoverableException); in test_Constructor_LStringLStringI()
158 assertNotNull(sQLRecoverableException); in test_Constructor_LStringLStringI_1()
175 assertNotNull(sQLRecoverableException); in test_Constructor_LStringLStringI_2()
192 assertNotNull(sQLRecoverableException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLTimeoutExceptionTest.java45 assertNotNull(sQLTimeoutException); in test_Constructor_LString()
61 assertNotNull(sQLTimeoutException); in test_Constructor_LString_1()
76 assertNotNull(sQLTimeoutException); in test_Constructor_LStringLString()
94 assertNotNull(sQLTimeoutException); in test_Constructor_LStringLString_1()
110 assertNotNull(sQLTimeoutException); in test_Constructor_LStringLString_2()
126 assertNotNull(sQLTimeoutException); in test_Constructor_LStringLString_3()
141 assertNotNull(sQLTimeoutException); in test_Constructor_LStringLStringI()
158 assertNotNull(sQLTimeoutException); in test_Constructor_LStringLStringI_1()
175 assertNotNull(sQLTimeoutException); in test_Constructor_LStringLStringI_2()
192 assertNotNull(sQLTimeoutException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLSyntaxErrorExceptionTest.java45 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LString()
61 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LString_1()
76 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LStringLString()
94 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LStringLString_1()
110 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LStringLString_2()
126 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LStringLString_3()
141 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LStringLStringI()
158 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LStringLStringI_1()
175 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LStringLStringI_2()
192 assertNotNull(sQLSyntaxErrorException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLIntegrityConstraintViolationExceptionTest.java45 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LString()
64 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LString_1()
82 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LStringLString()
103 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LStringLString_1()
122 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LStringLString_2()
141 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LStringLString_3()
160 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LStringLStringI()
181 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LStringLStringI_1()
202 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LStringLStringI_2()
223 assertNotNull(sQLIntegrityConstraintViolationException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLDataExceptionTest.java44 assertNotNull(sQLDataException); in test_Constructor_LString()
59 assertNotNull(sQLDataException); in test_Constructor_LString_1()
74 assertNotNull(sQLDataException); in test_Constructor_LStringLString()
92 assertNotNull(sQLDataException); in test_Constructor_LStringLString_1()
108 assertNotNull(sQLDataException); in test_Constructor_LStringLString_2()
124 assertNotNull(sQLDataException); in test_Constructor_LStringLString_3()
139 assertNotNull(sQLDataException); in test_Constructor_LStringLStringI()
156 assertNotNull(sQLDataException); in test_Constructor_LStringLStringI_1()
173 assertNotNull(sQLDataException); in test_Constructor_LStringLStringI_2()
190 assertNotNull(sQLDataException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLTransientConnectionExceptionTest.java45 assertNotNull(sQLTransientConnectionException); in test_Constructor_LString()
63 assertNotNull(sQLTransientConnectionException); in test_Constructor_LString_1()
81 assertNotNull(sQLTransientConnectionException); in test_Constructor_LStringLString()
100 assertNotNull(sQLTransientConnectionException); in test_Constructor_LStringLString_1()
118 assertNotNull(sQLTransientConnectionException); in test_Constructor_LStringLString_2()
136 assertNotNull(sQLTransientConnectionException); in test_Constructor_LStringLString_3()
154 assertNotNull(sQLTransientConnectionException); in test_Constructor_LStringLStringI()
172 assertNotNull(sQLTransientConnectionException); in test_Constructor_LStringLStringI_1()
190 assertNotNull(sQLTransientConnectionException); in test_Constructor_LStringLStringI_2()
208 assertNotNull(sQLTransientConnectionException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLTransientExceptionTest.java45 assertNotNull(sQLTransientException); in test_Constructor_LString()
61 assertNotNull(sQLTransientException); in test_Constructor_LString_1()
76 assertNotNull(sQLTransientException); in test_Constructor_LStringLString()
94 assertNotNull(sQLTransientException); in test_Constructor_LStringLString_1()
110 assertNotNull(sQLTransientException); in test_Constructor_LStringLString_2()
126 assertNotNull(sQLTransientException); in test_Constructor_LStringLString_3()
141 assertNotNull(sQLTransientException); in test_Constructor_LStringLStringI()
158 assertNotNull(sQLTransientException); in test_Constructor_LStringLStringI_1()
175 assertNotNull(sQLTransientException); in test_Constructor_LStringLStringI_2()
192 assertNotNull(sQLTransientException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLInvalidAuthorizationSpecExceptionTest.java45 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LString()
64 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LString_1()
82 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LStringLString()
103 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LStringLString_1()
122 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LStringLString_2()
141 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LStringLString_3()
159 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LStringLStringI()
179 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LStringLStringI_1()
199 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LStringLStringI_2()
219 assertNotNull(sQLInvalidAuthorizationSpecException); in test_Constructor_LStringLStringI_3()
[all …]
DSQLNonTransientConnectionExceptionTest.java45 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LString()
63 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LString_1()
81 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LStringLString()
102 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LStringLString_1()
120 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LStringLString_2()
139 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LStringLString_3()
157 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LStringLStringI()
177 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LStringLStringI_1()
197 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LStringLStringI_2()
217 assertNotNull(sQLNonTransientConnectionException); in test_Constructor_LStringLStringI_3()
[all …]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DInvalidRequestTest.java35 import static junit.framework.Assert.assertNotNull;
46 assertNotNull(this.testServer.parms); in testGetRequestWithoutProtocol()
48 assertNotNull(this.testServer.files); in testGetRequestWithoutProtocol()
49 assertNotNull(this.testServer.uri); in testGetRequestWithoutProtocol()
56 assertNotNull(this.testServer.parms); in testGetRequestWithProtocol()
58 assertNotNull(this.testServer.files); in testGetRequestWithProtocol()
59 assertNotNull(this.testServer.uri); in testGetRequestWithProtocol()
65 assertNotNull(this.testServer.parms); in testPostRequestWithoutProtocol()
67 assertNotNull(this.testServer.files); in testPostRequestWithoutProtocol()
68 assertNotNull(this.testServer.uri); in testPostRequestWithoutProtocol()
[all …]
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliAnnotationTest.java177 Assert.assertNotNull(annotationNameRef); in doTest()
179 Assert.assertNotNull(smaliAnnotationClass); in doTest()
184 Assert.assertNotNull(annotationNameRef); in doTest()
186 Assert.assertNotNull(smaliAnnotationClass); in doTest()
190 Assert.assertNotNull(smaliAnnotation); in doTest()
193 Assert.assertNotNull(owner); in doTest()
196 Assert.assertNotNull(annotationNameRef); in doTest()
198 Assert.assertNotNull(smaliAnnotationClass); in doTest()
202 Assert.assertNotNull(parameterList); in doTest()
206 Assert.assertNotNull(value); in doTest()
[all …]
DMethodReferenceTest.java58 Assert.assertNotNull(methodReference); in testJavaReferenceFromSmali()
62 Assert.assertNotNull(resolvedMethod); in testJavaReferenceFromSmali()
64 Assert.assertNotNull(resolvedMethod.getContainingClass()); in testJavaReferenceFromSmali()
67 Assert.assertNotNull(resolvedMethod.getReturnType()); in testJavaReferenceFromSmali()
91 Assert.assertNotNull(methodReference); in testSmaliReferenceFromSmali()
95 Assert.assertNotNull(resolvedMethod); in testSmaliReferenceFromSmali()
97 Assert.assertNotNull(resolvedMethod.getContainingClass()); in testSmaliReferenceFromSmali()
103 Assert.assertNotNull(resolvedMethod.getReturnType()); in testSmaliReferenceFromSmali()
124 Assert.assertNotNull(methodReference); in testSmaliReferenceFromJava()
127 Assert.assertNotNull(resolvedMethod); in testSmaliReferenceFromJava()
[all …]
DFieldReferenceTest.java57 Assert.assertNotNull(fieldReference); in testJavaReferenceFromSmali()
59 Assert.assertNotNull(fieldReference.getFieldType()); in testJavaReferenceFromSmali()
63 Assert.assertNotNull(resolvedField); in testJavaReferenceFromSmali()
65 Assert.assertNotNull(resolvedField.getContainingClass()); in testJavaReferenceFromSmali()
87 Assert.assertNotNull(fieldReference); in testSmaliReferenceFromSmali()
89 Assert.assertNotNull(fieldReference.getFieldType()); in testSmaliReferenceFromSmali()
93 Assert.assertNotNull(resolvedField); in testSmaliReferenceFromSmali()
95 Assert.assertNotNull(resolvedField.getContainingClass()); in testSmaliReferenceFromSmali()
113 Assert.assertNotNull(fieldReference); in testSmaliReferenceFromJava()
116 Assert.assertNotNull(resolvedField); in testSmaliReferenceFromJava()
[all …]
/external/mockito/src/test/java/org/mockito/internal/util/
DPrimitivesTest.java10 import static org.junit.Assert.assertNotNull;
17 assertNotNull(Primitives.defaultValue(Boolean.class)); in should_not_return_null_for_primitives_wrappers()
18 assertNotNull(Primitives.defaultValue(Character.class)); in should_not_return_null_for_primitives_wrappers()
19 assertNotNull(Primitives.defaultValue(Byte.class)); in should_not_return_null_for_primitives_wrappers()
20 assertNotNull(Primitives.defaultValue(Short.class)); in should_not_return_null_for_primitives_wrappers()
21 assertNotNull(Primitives.defaultValue(Integer.class)); in should_not_return_null_for_primitives_wrappers()
22 assertNotNull(Primitives.defaultValue(Long.class)); in should_not_return_null_for_primitives_wrappers()
23 assertNotNull(Primitives.defaultValue(Float.class)); in should_not_return_null_for_primitives_wrappers()
24 assertNotNull(Primitives.defaultValue(Double.class)); in should_not_return_null_for_primitives_wrappers()
29 assertNotNull(Primitives.defaultValue(boolean.class)); in should_not_return_null_for_primitives()
[all …]
/external/smali/smali/src/test/java/org/jf/smali/
DImplicitReferenceTest.java80 Assert.assertNotNull(mainMethod); in testImplicitMethodReference()
83 Assert.assertNotNull(methodImpl); in testImplicitMethodReference()
88 Assert.assertNotNull(instruction); in testImplicitMethodReference()
95 Assert.assertNotNull(instruction); in testImplicitMethodReference()
102 Assert.assertNotNull(instruction); in testImplicitMethodReference()
125 Assert.assertNotNull(field); in testImplicitMethodLiteral()
126 Assert.assertNotNull(field.getInitialValue()); in testImplicitMethodLiteral()
133 Assert.assertNotNull(field); in testImplicitMethodLiteral()
134 Assert.assertNotNull(field.getInitialValue()); in testImplicitMethodLiteral()
141 Assert.assertNotNull(field); in testImplicitMethodLiteral()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DJavaBeanWithNullValuesTest.java41 assertNotNull(parsed.getString()); in testNotNull()
42 assertNotNull(parsed.getBoolean1()); in testNotNull()
43 assertNotNull(parsed.getDate()); in testNotNull()
44 assertNotNull(parsed.getDouble1()); in testNotNull()
45 assertNotNull(parsed.getFloat1()); in testNotNull()
46 assertNotNull(parsed.getInteger()); in testNotNull()
47 assertNotNull(parsed.getLong1()); in testNotNull()
48 assertNotNull(parsed.getSqlDate()); in testNotNull()
49 assertNotNull(parsed.getTimestamp()); in testNotNull()
52 assertNotNull(parsed.getString()); in testNotNull()
[all …]

12345678910>>...20