Searched refs:assert_exception (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/tests/ |
D | jni_api.rs | 705 assert_exception(&result, "JNIEnv#new_boolean_array should throw exception"); in new_primitive_array_wrong() 709 assert_exception(&result, "JNIEnv#new_byte_array should throw exception"); in new_primitive_array_wrong() 713 assert_exception(&result, "JNIEnv#new_char_array should throw exception"); in new_primitive_array_wrong() 717 assert_exception(&result, "JNIEnv#new_short_array should throw exception"); in new_primitive_array_wrong() 721 assert_exception(&result, "JNIEnv#new_int_array should throw exception"); in new_primitive_array_wrong() 725 assert_exception(&result, "JNIEnv#new_long_array should throw exception"); in new_primitive_array_wrong() 729 assert_exception(&result, "JNIEnv#new_float_array should throw exception"); in new_primitive_array_wrong() 733 assert_exception(&result, "JNIEnv#new_double_array should throw exception"); in new_primitive_array_wrong() 910 fn assert_exception(res: &Result<jobject, Error>, expect_message: &str) { in assert_exception() function
|
/aosp_15_r20/external/rust/android-crates-io/crates/jni/tests/ |
D | jni_api.rs | 900 assert_exception(&result, "JNIEnv#new_boolean_array should throw exception"); in new_primitive_array_wrong() 904 assert_exception(&result, "JNIEnv#new_byte_array should throw exception"); in new_primitive_array_wrong() 908 assert_exception(&result, "JNIEnv#new_char_array should throw exception"); in new_primitive_array_wrong() 912 assert_exception(&result, "JNIEnv#new_short_array should throw exception"); in new_primitive_array_wrong() 916 assert_exception(&result, "JNIEnv#new_int_array should throw exception"); in new_primitive_array_wrong() 920 assert_exception(&result, "JNIEnv#new_long_array should throw exception"); in new_primitive_array_wrong() 924 assert_exception(&result, "JNIEnv#new_float_array should throw exception"); in new_primitive_array_wrong() 928 assert_exception(&result, "JNIEnv#new_double_array should throw exception"); in new_primitive_array_wrong() 1143 fn assert_exception(res: &Result<jobject, Error>, expect_message: &str) { in assert_exception() function
|