Home
last modified time | relevance | path

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

12345678910>>...46

/external/volley/src/test/java/com/android/volley/toolbox/
DRequestTest.java19 import static org.junit.Assert.assertNotNull;
38 assertNotNull( in publicMethods()
42 assertNotNull(Request.class.getMethod("getMethod")); in publicMethods()
43 assertNotNull(Request.class.getMethod("setTag", Object.class)); in publicMethods()
44 assertNotNull(Request.class.getMethod("getTag")); in publicMethods()
45 assertNotNull(Request.class.getMethod("getErrorListener")); in publicMethods()
46 assertNotNull(Request.class.getMethod("getTrafficStatsTag")); in publicMethods()
47 assertNotNull(Request.class.getMethod("setRetryPolicy", RetryPolicy.class)); in publicMethods()
48 assertNotNull(Request.class.getMethod("addMarker", String.class)); in publicMethods()
49 assertNotNull(Request.class.getDeclaredMethod("finish", String.class)); in publicMethods()
[all …]
DRequestQueueTest.java19 import static org.junit.Assert.assertNotNull;
36 assertNotNull( in publicMethods()
39 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class)); in publicMethods()
40 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class)); in publicMethods()
42 assertNotNull(RequestQueue.class.getMethod("start")); in publicMethods()
43 assertNotNull(RequestQueue.class.getMethod("stop")); in publicMethods()
44 assertNotNull(RequestQueue.class.getMethod("getSequenceNumber")); in publicMethods()
45 assertNotNull(RequestQueue.class.getMethod("getCache")); in publicMethods()
46 assertNotNull(RequestQueue.class.getMethod("cancelAll", RequestQueue.RequestFilter.class)); in publicMethods()
47 assertNotNull(RequestQueue.class.getMethod("cancelAll", Object.class)); in publicMethods()
[all …]
DResponseTest.java19 import static org.junit.Assert.assertNotNull;
36 assertNotNull(Response.class.getMethod("success", Object.class, Cache.Entry.class)); in publicMethods()
37 assertNotNull(Response.class.getMethod("error", VolleyError.class)); in publicMethods()
38 assertNotNull(Response.class.getMethod("isSuccess")); in publicMethods()
40 assertNotNull(Response.Listener.class.getDeclaredMethod("onResponse", Object.class)); in publicMethods()
42 assertNotNull( in publicMethods()
46 assertNotNull( in publicMethods()
49 assertNotNull( in publicMethods()
52 assertNotNull(NetworkResponse.class.getConstructor(byte[].class)); in publicMethods()
53 assertNotNull(NetworkResponse.class.getConstructor(byte[].class, Map.class)); in publicMethods()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_Providers.txt2 Line 22) assertNotNull(reader) ==> com.github.javaparser.utils.Utils.assertNotNull(T)
3 Line 26) assertNotNull(input) ==> com.github.javaparser.utils.Utils.assertNotNull(T)
4 Line 27) assertNotNull(encoding) ==> com.github.javaparser.utils.Utils.assertNotNull(T)
7 …Line 42) provider(new FileInputStream(assertNotNull(file)), assertNotNull(encoding)) ==> com.githu…
8 Line 42) assertNotNull(file) ==> com.github.javaparser.utils.Utils.assertNotNull(T)
9 Line 42) assertNotNull(encoding) ==> com.github.javaparser.utils.Utils.assertNotNull(T)
10 …Line 46) provider(assertNotNull(file), UTF8) ==> com.github.javaparser.Providers.provider(java.io.…
11 Line 46) assertNotNull(file) ==> com.github.javaparser.utils.Utils.assertNotNull(T)
12 …Line 50) provider(Files.newInputStream(assertNotNull(path)), assertNotNull(encoding)) ==> com.gith…
13 …Line 50) Files.newInputStream(assertNotNull(path)) ==> java.nio.file.Files.newInputStream(java.nio…
[all …]
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/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 …]
/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPreferenceActivityTest.java4 import static org.junit.Assert.assertNotNull;
38 assertNotNull(activity.findPreference("category")); in shouldFindPreferences()
39 assertNotNull(activity.findPreference("inside_category")); in shouldFindPreferences()
40 assertNotNull(activity.findPreference("screen")); in shouldFindPreferences()
41 assertNotNull(activity.findPreference("inside_screen")); in shouldFindPreferences()
42 assertNotNull(activity.findPreference("checkbox")); in shouldFindPreferences()
43 assertNotNull(activity.findPreference("edit_text")); in shouldFindPreferences()
44 assertNotNull(activity.findPreference("list")); in shouldFindPreferences()
45 assertNotNull(activity.findPreference("preference")); in shouldFindPreferences()
46 assertNotNull(activity.findPreference("ringtone")); in shouldFindPreferences()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
DProviders.java9 import static com.github.javaparser.utils.Utils.assertNotNull;
22 return new StreamProvider(assertNotNull(reader)); in provider()
26 assertNotNull(input); in provider()
27 assertNotNull(encoding); in provider()
42 return provider(new FileInputStream(assertNotNull(file)), assertNotNull(encoding)); in provider()
46 return provider(assertNotNull(file), UTF8); in provider()
50 return provider(Files.newInputStream(assertNotNull(path)), assertNotNull(encoding)); in provider()
54 return provider(assertNotNull(path), UTF8); in provider()
58 return new StringProvider(assertNotNull(source)); in provider()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestConvertingDeserializer.java127 assertNotNull(bean); in testClassAnnotationSimple()
136 assertNotNull(container); in testClassAnnotationForLists()
137 assertNotNull(container.values); in testClassAnnotationForLists()
145 assertNotNull(wrapper); in testPropertyAnnotationSimple()
146 assertNotNull(wrapper.value); in testPropertyAnnotationSimple()
154 assertNotNull(text); in testPropertyAnnotationLowerCasing()
155 assertNotNull(text.text); in testPropertyAnnotationLowerCasing()
162 assertNotNull(texts); in testPropertyAnnotationArrayLC()
163 assertNotNull(texts.texts); in testPropertyAnnotationArrayLC()
172 assertNotNull(array); in testPropertyAnnotationForArrays()
[all …]
/external/robolectric-shadows/shadows/playservices/src/test/java/org/robolectric/shadows/gms/
DShadowGoogleAuthUtilTest.java4 import static org.junit.Assert.assertNotNull;
46 assertNotNull(ShadowGoogleAuthUtil.getImpl()); in getImplementation_defaultNotNull()
73 assertNotNull(list); in getAccountChangeEvents_defaultReturnEmptyList()
79 assertNotNull(GoogleAuthUtil.getAccountId(RuntimeEnvironment.application, "name")); in getAccountId_defaultNotNull()
84 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, "name", "scope")); in getToken_defaultNotNull()
85 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, "name", "scope", in getToken_defaultNotNull()
87 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, new Account("name", in getToken_defaultNotNull()
89 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, new Account("name", in getToken_defaultNotNull()
91 assertNotNull(GoogleAuthUtil.getTokenWithNotification(RuntimeEnvironment.application, in getToken_defaultNotNull()
93 assertNotNull(GoogleAuthUtil.getTokenWithNotification(RuntimeEnvironment.application, in getToken_defaultNotNull()
[all …]
/external/smali/smali/src/test/java/org/jf/smali/
DImplicitReferenceTest.java81 Assert.assertNotNull(mainMethod); in testImplicitMethodReference()
84 Assert.assertNotNull(methodImpl); in testImplicitMethodReference()
89 Assert.assertNotNull(instruction); in testImplicitMethodReference()
96 Assert.assertNotNull(instruction); in testImplicitMethodReference()
103 Assert.assertNotNull(instruction); in testImplicitMethodReference()
126 Assert.assertNotNull(field); in testImplicitMethodLiteral()
127 Assert.assertNotNull(field.getInitialValue()); in testImplicitMethodLiteral()
134 Assert.assertNotNull(field); in testImplicitMethodLiteral()
135 Assert.assertNotNull(field.getInitialValue()); in testImplicitMethodLiteral()
142 Assert.assertNotNull(field); in testImplicitMethodLiteral()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DProviders.java29 import static com.github.javaparser.utils.Utils.assertNotNull;
42 return new StreamProvider(assertNotNull(reader)); in provider()
46 assertNotNull(input); in provider()
47 assertNotNull(encoding); in provider()
62 return provider(new FileInputStream(assertNotNull(file)), assertNotNull(encoding)); in provider()
66 return provider(assertNotNull(file), UTF8); in provider()
70 return provider(Files.newInputStream(assertNotNull(path)), assertNotNull(encoding)); in provider()
74 return provider(assertNotNull(path), UTF8); in provider()
78 return new StringProvider(assertNotNull(source)); in provider()

12345678910>>...46