Lines Matching refs:Check

110       abort_catcher->Check(check_jni_msg);  in ExpectClassNotFound()
120 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in FindClassTest()
139 check_jni_abort_catcher.Check("illegal class name 'java.lang.String'"); in FindClassTest()
143 check_jni_abort_catcher.Check("illegal class name '[Ljava.lang.String;'"); in FindClassTest()
180 check_jni_abort_catcher.Check(check_jni ? "GetFieldID received NULL jclass" in GetFieldIdBadArgumentTest()
184 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetFieldIdBadArgumentTest()
188 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetFieldIdBadArgumentTest()
203 check_jni_abort_catcher.Check(check_jni ? "GetStaticFieldID received NULL jclass" in GetStaticFieldIdBadArgumentTest()
207 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetStaticFieldIdBadArgumentTest()
211 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetStaticFieldIdBadArgumentTest()
223 check_jni_abort_catcher.Check(check_jni ? "GetMethodID received NULL jclass" in GetMethodIdBadArgumentTest()
229 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetMethodIdBadArgumentTest()
233 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetMethodIdBadArgumentTest()
245 check_jni_abort_catcher.Check(check_jni ? "GetStaticMethodID received NULL jclass" in GetStaticMethodIdBadArgumentTest()
250 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetStaticMethodIdBadArgumentTest()
254 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetStaticMethodIdBadArgumentTest()
273 check_jni_abort_catcher.Check("ToReflectedField received NULL jclass"); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
280 check_jni_abort_catcher.Check(check_jni ? "jfieldID was NULL" in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
285 check_jni_abort_catcher.Check(check_jni ? "expected non-null java.lang.reflect.Field" in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
304 check_jni_abort_catcher.Check("ToReflectedMethod received NULL jclass"); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
311 check_jni_abort_catcher.Check(check_jni ? "jmethodID was NULL" in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
315 check_jni_abort_catcher.Check(check_jni ? "expected non-null method" : "jlr_method == null"); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
327 check_jni_abort_catcher->Check(check_jni ? "RegisterNatives received NULL jclass" in RegisterAndUnregisterNativesBadArguments()
334 check_jni_abort_catcher->Check("methods == null"); in RegisterAndUnregisterNativesBadArguments()
338 check_jni_abort_catcher->Check(check_jni ? "UnregisterNatives received NULL jclass" in RegisterAndUnregisterNativesBadArguments()
352 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
356 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
360 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
364 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
368 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
372 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
376 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
382 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
388 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
406 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
411 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
416 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
421 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
426 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
431 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
436 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
450 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
456 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
474 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String" in GetReleasePrimitiveArrayCriticalOfWrongType()
477 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String" in GetReleasePrimitiveArrayCriticalOfWrongType()
492 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
497 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
502 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
507 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
512 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
517 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
522 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
528 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
534 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String" in GetPrimitiveArrayRegionElementsOfWrongType()
550 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
555 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
560 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
565 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
570 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
575 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
580 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
586 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
592 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String" in SetPrimitiveArrayRegionElementsOfWrongType()
606 jni_abort_catcher.Check(check_jni ? "negative jsize: -1" : "negative array length: -1"); in NewObjectArrayBadArguments()
609 jni_abort_catcher.Check(check_jni ? "negative jsize: -2147483648" in NewObjectArrayBadArguments()
834 check_jni_abort_catcher.Check("null"); in TEST_F()
851 check_jni_abort_catcher.Check("unexpected " #c_type " value: " #bad_value); \ in TEST_F()
880 check_jni_abort_catcher.Check("unexpected " #c_type " value: " #bad_value); \ in TEST_F()
1101 check_jni_abort_catcher.Check("negative method count: "); in TEST_F()
1126 jni_abort_catcher.Check("negative array length: -1"); \
1128 jni_abort_catcher.Check("negative array length: -2147483648"); \
1131 jni_abort_catcher.Check("java_array == null"); \
1133 jni_abort_catcher.Check("java_array == null"); \
1135 jni_abort_catcher.Check("java_array == null"); \
1137 jni_abort_catcher.Check("java_array == null"); \
1139 jni_abort_catcher.Check("java_array == null"); \
1143 jni_abort_catcher.Check("buf == null"); \
1145 jni_abort_catcher.Check("buf == null"); \
1315 jni_abort_catcher.Check("element_jclass == null"); in TEST_F()
1319 jni_abort_catcher.Check(error_msg.c_str()); in TEST_F()
1324 jni_abort_catcher.Check("NewObjectArray received NULL jclass"); in TEST_F()
1328 jni_abort_catcher.Check(error_msg.c_str()); in TEST_F()
1350 jni_abort_catcher.Check("cannot assign object of type 'java.lang.String[]' to array with element " in TEST_F()
1359 jni_abort_catcher.Check("java_array == null"); in TEST_F()
1362 jni_abort_catcher.Check("jarray was NULL"); in TEST_F()
1382 jni_abort_catcher.Check("java_object == null"); in TEST_F()
1400 jni_abort_catcher.Check("java_class == null"); in TEST_F()
1403 jni_abort_catcher.Check("GetSuperclass received NULL jclass"); in TEST_F()
1440 jni_abort_catcher.Check("java_class1 == null"); in TEST_F()
1442 jni_abort_catcher.Check("java_class2 == null"); in TEST_F()
1445 jni_abort_catcher.Check("IsAssignableFrom received NULL jclass"); in TEST_F()
1447 jni_abort_catcher.Check("IsAssignableFrom received NULL jclass"); in TEST_F()
1466 jni_abort_catcher.Check("use of invalid jobject"); in TEST_F()
1577 jni_abort_catcher.Check("chars == null && char_count > 0"); in TEST_F()
1584 jni_abort_catcher.Check("char_count < 0: -1"); in TEST_F()
1586 jni_abort_catcher.Check("char_count < 0: -2147483648"); in TEST_F()
1589 jni_abort_catcher.Check("negative jsize: -1"); in TEST_F()
1591 jni_abort_catcher.Check("negative jsize: -2147483648"); in TEST_F()
1665 check_jni_abort_catcher.Check("GetStringUTFChars received NULL jstring"); in TEST_F()
1778 jni_abort_catcher.Check("java_array == null"); in TEST_F()
1780 jni_abort_catcher.Check("java_array == null"); in TEST_F()
1783 jni_abort_catcher.Check("jarray was NULL"); in TEST_F()
1785 jni_abort_catcher.Check("jarray was NULL"); in TEST_F()
1806 jni_abort_catcher.Check("fid == null"); \
1808 jni_abort_catcher.Check("fid == null"); \
1812 jni_abort_catcher.Check("received NULL jclass"); \
1814 jni_abort_catcher.Check("received NULL jclass"); \
1816 jni_abort_catcher.Check("jfieldID was NULL"); \
1818 jni_abort_catcher.Check("jfieldID was NULL"); \
1834 jni_abort_catcher.Check("obj == null"); \
1836 jni_abort_catcher.Check("obj == null"); \
1838 jni_abort_catcher.Check("fid == null"); \
1840 jni_abort_catcher.Check("fid == null"); \
1843 jni_abort_catcher.Check("field operation on NULL object:"); \
1845 jni_abort_catcher.Check("field operation on NULL object:"); \
1847 jni_abort_catcher.Check("jfieldID was NULL"); \
1849 jni_abort_catcher.Check("jfieldID was NULL"); \
1897 jni_abort_catcher.Check("not valid for an object of class"); \
1899 jni_abort_catcher.Check("not valid for an object of class"); \
2001 check_jni_abort_catcher.Check(expected.c_str()); in TEST_F()
2055 check_jni_abort_catcher.Check("use of deleted local reference"); in TEST_F()
2063 check_jni_abort_catcher.Check("use of deleted local reference"); in TEST_F()
2071 check_jni_abort_catcher.Check("use of deleted local reference"); in TEST_F()
2073 check_jni_abort_catcher.Check("use of deleted local reference"); in TEST_F()
2075 check_jni_abort_catcher.Check("use of deleted local reference"); in TEST_F()
2140 check_jni_abort_catcher.Check(expected.c_str()); in TEST_F()
2193 check_jni_abort_catcher.Check(expected.c_str()); in TEST_F()
2230 check_jni_abort_catcher.Check("Throw received NULL jthrowable"); in TEST_F()
2256 check_jni_abort_catcher.Check("c == null"); in TEST_F()
2259 check_jni_abort_catcher.Check("ThrowNew received NULL jclass"); in TEST_F()
2312 check_jni_abort_catcher.Check("in call to NewDirectByteBuffer"); in TEST_F()
2369 check_jni_abort_catcher.Check("in call to MonitorEnter"); in TEST_F()
2371 check_jni_abort_catcher.Check("in call to MonitorExit"); in TEST_F()
2389 check_jni_abort_catcher.Check("Unlocking monitor that wasn't locked here"); in TEST_F()
2406 check_jni_abort_catcher.Check("Still holding a locked object on JNI end"); in TEST_F()
2563 check_jni_abort_catcher.Check("is making JNI calls without being attached"); in TEST_F()