Lines Matching refs:Check

111       abort_catcher->Check(check_jni_msg);  in ExpectClassNotFound()
121 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in FindClassTest()
140 check_jni_abort_catcher.Check("illegal class name 'java.lang.String'"); in FindClassTest()
144 check_jni_abort_catcher.Check("illegal class name '[Ljava.lang.String;'"); in FindClassTest()
181 check_jni_abort_catcher.Check(check_jni ? "GetFieldID received NULL jclass" in GetFieldIdBadArgumentTest()
185 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetFieldIdBadArgumentTest()
189 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetFieldIdBadArgumentTest()
204 check_jni_abort_catcher.Check(check_jni ? "GetStaticFieldID received NULL jclass" in GetStaticFieldIdBadArgumentTest()
208 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetStaticFieldIdBadArgumentTest()
212 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetStaticFieldIdBadArgumentTest()
224 check_jni_abort_catcher.Check(check_jni ? "GetMethodID received NULL jclass" in GetMethodIdBadArgumentTest()
230 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetMethodIdBadArgumentTest()
234 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetMethodIdBadArgumentTest()
246 check_jni_abort_catcher.Check(check_jni ? "GetStaticMethodID received NULL jclass" in GetStaticMethodIdBadArgumentTest()
251 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetStaticMethodIdBadArgumentTest()
255 check_jni_abort_catcher.Check(check_jni ? "non-nullable const char* was NULL" in GetStaticMethodIdBadArgumentTest()
274 check_jni_abort_catcher.Check("ToReflectedField received NULL jclass"); in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
281 check_jni_abort_catcher.Check(check_jni ? "jfieldID was NULL" in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
286 check_jni_abort_catcher.Check(check_jni ? "expected non-null java.lang.reflect.Field" in GetFromReflectedField_ToReflectedFieldBadArgumentTest()
305 check_jni_abort_catcher.Check("ToReflectedMethod received NULL jclass"); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
312 check_jni_abort_catcher.Check(check_jni ? "jmethodID was NULL" in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
316 check_jni_abort_catcher.Check(check_jni ? "expected non-null method" : "jlr_method == null"); in GetFromReflectedMethod_ToReflectedMethodBadArgumentTest()
328 check_jni_abort_catcher->Check(check_jni ? "RegisterNatives received NULL jclass" in RegisterAndUnregisterNativesBadArguments()
335 check_jni_abort_catcher->Check("methods == null"); in RegisterAndUnregisterNativesBadArguments()
339 check_jni_abort_catcher->Check(check_jni ? "UnregisterNatives received NULL jclass" in RegisterAndUnregisterNativesBadArguments()
353 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
357 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
361 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
365 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
369 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
373 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
377 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
383 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
389 jni_abort_catcher.Check( in GetPrimitiveArrayElementsOfWrongType()
407 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
412 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
417 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
422 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
427 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
432 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
437 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
451 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
457 jni_abort_catcher.Check( in ReleasePrimitiveArrayElementsOfWrongType()
475 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String" in GetReleasePrimitiveArrayCriticalOfWrongType()
478 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String" in GetReleasePrimitiveArrayCriticalOfWrongType()
493 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
498 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
503 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
508 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
513 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
518 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
523 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
529 jni_abort_catcher.Check( in GetPrimitiveArrayRegionElementsOfWrongType()
535 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String" in GetPrimitiveArrayRegionElementsOfWrongType()
551 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
556 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
561 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
566 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
571 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
576 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
581 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
587 jni_abort_catcher.Check( in SetPrimitiveArrayRegionElementsOfWrongType()
593 jni_abort_catcher.Check(check_jni ? "jarray argument has non-array type: java.lang.String" in SetPrimitiveArrayRegionElementsOfWrongType()
607 jni_abort_catcher.Check(check_jni ? "negative jsize: -1" : "negative array length: -1"); in NewObjectArrayBadArguments()
610 jni_abort_catcher.Check(check_jni ? "negative jsize: -2147483648" in NewObjectArrayBadArguments()
835 check_jni_abort_catcher.Check("null"); in TEST_F()
852 check_jni_abort_catcher.Check("unexpected " #c_type " value: " #bad_value); \ in TEST_F()
881 check_jni_abort_catcher.Check("unexpected " #c_type " value: " #bad_value); \ in TEST_F()
1102 check_jni_abort_catcher.Check("negative method count: "); in TEST_F()
1127 jni_abort_catcher.Check("negative array length: -1"); \
1129 jni_abort_catcher.Check("negative array length: -2147483648"); \
1132 jni_abort_catcher.Check("java_array == null"); \
1134 jni_abort_catcher.Check("java_array == null"); \
1136 jni_abort_catcher.Check("java_array == null"); \
1138 jni_abort_catcher.Check("java_array == null"); \
1140 jni_abort_catcher.Check("java_array == null"); \
1144 jni_abort_catcher.Check("buf == null"); \
1146 jni_abort_catcher.Check("buf == null"); \
1316 jni_abort_catcher.Check("element_jclass == null"); in TEST_F()
1320 jni_abort_catcher.Check(error_msg.c_str()); in TEST_F()
1325 jni_abort_catcher.Check("NewObjectArray received NULL jclass"); in TEST_F()
1329 jni_abort_catcher.Check(error_msg.c_str()); in TEST_F()
1351 jni_abort_catcher.Check("cannot assign object of type 'java.lang.String[]' to array with element " in TEST_F()
1360 jni_abort_catcher.Check("java_array == null"); in TEST_F()
1363 jni_abort_catcher.Check("jarray was NULL"); in TEST_F()
1383 jni_abort_catcher.Check("java_object == null"); in TEST_F()
1401 jni_abort_catcher.Check("java_class == null"); in TEST_F()
1404 jni_abort_catcher.Check("GetSuperclass received NULL jclass"); in TEST_F()
1441 jni_abort_catcher.Check("java_class1 == null"); in TEST_F()
1443 jni_abort_catcher.Check("java_class2 == null"); in TEST_F()
1446 jni_abort_catcher.Check("IsAssignableFrom received NULL jclass"); in TEST_F()
1448 jni_abort_catcher.Check("IsAssignableFrom received NULL jclass"); in TEST_F()
1467 jni_abort_catcher.Check("use of invalid jobject"); in TEST_F()
1700 jni_abort_catcher.Check("chars == null && char_count > 0"); in TEST_F()
1707 jni_abort_catcher.Check("char_count < 0: -1"); in TEST_F()
1709 jni_abort_catcher.Check("char_count < 0: -2147483648"); in TEST_F()
1712 jni_abort_catcher.Check("negative jsize: -1"); in TEST_F()
1714 jni_abort_catcher.Check("negative jsize: -2147483648"); in TEST_F()
1797 check_jni_abort_catcher.Check("GetStringUTFChars received NULL jstring"); in TEST_F()
1910 jni_abort_catcher.Check("java_array == null"); in TEST_F()
1912 jni_abort_catcher.Check("java_array == null"); in TEST_F()
1915 jni_abort_catcher.Check("jarray was NULL"); in TEST_F()
1917 jni_abort_catcher.Check("jarray was NULL"); in TEST_F()
1938 jni_abort_catcher.Check("fid == null"); \
1940 jni_abort_catcher.Check("fid == null"); \
1944 jni_abort_catcher.Check("received NULL jclass"); \
1946 jni_abort_catcher.Check("received NULL jclass"); \
1948 jni_abort_catcher.Check("jfieldID was NULL"); \
1950 jni_abort_catcher.Check("jfieldID was NULL"); \
1966 jni_abort_catcher.Check("obj == null"); \
1968 jni_abort_catcher.Check("obj == null"); \
1970 jni_abort_catcher.Check("fid == null"); \
1972 jni_abort_catcher.Check("fid == null"); \
1975 jni_abort_catcher.Check("field operation on NULL object:"); \
1977 jni_abort_catcher.Check("field operation on NULL object:"); \
1979 jni_abort_catcher.Check("jfieldID was NULL"); \
1981 jni_abort_catcher.Check("jfieldID was NULL"); \
2029 jni_abort_catcher.Check("not valid for an object of class"); \
2031 jni_abort_catcher.Check("not valid for an object of class"); \
2128 check_jni_abort_catcher.Check(expected.c_str()); in TEST_F()
2182 check_jni_abort_catcher.Check("jobject is an invalid local reference"); in TEST_F()
2190 check_jni_abort_catcher.Check("jobject is an invalid local reference"); in TEST_F()
2198 check_jni_abort_catcher.Check("jobject is an invalid local reference"); in TEST_F()
2200 check_jni_abort_catcher.Check("jobject is an invalid local reference"); in TEST_F()
2202 check_jni_abort_catcher.Check("jobject is an invalid local reference"); in TEST_F()
2262 check_jni_abort_catcher.Check(expected.c_str()); in TEST_F()
2310 check_jni_abort_catcher.Check(expected.c_str()); in TEST_F()
2347 check_jni_abort_catcher.Check("Throw received NULL jthrowable"); in TEST_F()
2373 check_jni_abort_catcher.Check("c == null"); in TEST_F()
2376 check_jni_abort_catcher.Check("ThrowNew received NULL jclass"); in TEST_F()
2429 check_jni_abort_catcher.Check("in call to NewDirectByteBuffer"); in TEST_F()
2486 check_jni_abort_catcher.Check("in call to MonitorEnter"); in TEST_F()
2488 check_jni_abort_catcher.Check("in call to MonitorExit"); in TEST_F()
2506 check_jni_abort_catcher.Check("Unlocking monitor that wasn't locked here"); in TEST_F()
2523 check_jni_abort_catcher.Check("Still holding a locked object on JNI end"); in TEST_F()
2716 check_jni_abort_catcher.Check("is making JNI calls without being attached"); in TEST_F()