Home
last modified time | relevance | path

Searched refs:assert_exception (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/jni/tests/
Djni_api.rs705 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