Home
last modified time | relevance | path

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

/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp104 constexpr auto jni_descriptor = PARSE_SIGNATURE_AS_LIST("()V"); in TEST() local
105 EXPECT_STRINGIFY_EQ("args={}, ret=V", jni_descriptor); in TEST()
110 jni_descriptor = PARSE_SIGNATURE_AS_LIST("()Ljava/lang/Object;"); in TEST() local
111 EXPECT_STRINGIFY_EQ("args={}, ret=Ljava/lang/Object;", jni_descriptor); in TEST()
115 constexpr auto jni_descriptor = PARSE_SIGNATURE_AS_LIST("()[I"); in TEST() local
116 EXPECT_STRINGIFY_EQ("args={}, ret=[I", jni_descriptor); in TEST()
121 constexpr auto jni_descriptor = PARSE_SIGNATURE_AS_LIST(signature); \ in TEST()
122 EXPECT_EQ(true, jni_descriptor.has_value()); \ in TEST()
123 EXPECT_STRINGIFY_EQ("args={" args "}, ret=" ret, jni_descriptor); \ in TEST()
176 #define EXPECT_FAILED_SIGNATURE_PARSE(jni_descriptor) \ in TEST() argument
[all …]