Home
last modified time | relevance | path

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

/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp105 constexpr auto jni_descriptor = PARSE_SIGNATURE_AS_LIST("()V"); in TEST() local
106 EXPECT_STRINGIFY_EQ("args={}, ret=V", jni_descriptor); in TEST()
111 jni_descriptor = PARSE_SIGNATURE_AS_LIST("()Ljava/lang/Object;"); in TEST() local
112 EXPECT_STRINGIFY_EQ("args={}, ret=Ljava/lang/Object;", jni_descriptor); in TEST()
116 constexpr auto jni_descriptor = PARSE_SIGNATURE_AS_LIST("()[I"); in TEST() local
117 EXPECT_STRINGIFY_EQ("args={}, ret=[I", jni_descriptor); in TEST()
122 constexpr auto jni_descriptor = PARSE_SIGNATURE_AS_LIST(signature); \ in TEST()
123 EXPECT_EQ(true, jni_descriptor.has_value()); \ in TEST()
124 EXPECT_STRINGIFY_EQ("args={" args "}, ret=" ret, jni_descriptor); \ in TEST()
177 #define EXPECT_FAILED_SIGNATURE_PARSE(jni_descriptor) \ in TEST() argument
[all …]