Test and document imfuncname special variable expansion
This commit is contained in:
parent
e25911b846
commit
62e0685df6
4 changed files with 32 additions and 1 deletions
|
|
@ -76,6 +76,15 @@ public class java_typemaps_proxy_runme {
|
|||
java_typemaps_proxyJNI.Without_member_method(nullPtr, nullPtr);
|
||||
java_typemaps_proxyJNI.delete_Without(nullPtr);
|
||||
java_typemaps_proxyJNI.global_method_without(nullPtr);
|
||||
|
||||
// $imfuncname substitution
|
||||
ProxyA pa = new ProxyA();
|
||||
if (pa.imfuncname_test() != 123)
|
||||
throw new RuntimeException("imfuncname_test is not 123");
|
||||
if (ProxyA.imfuncname_static_test() != 234)
|
||||
throw new RuntimeException("imfuncname_test is not 234");
|
||||
if (java_typemaps_proxy.imfuncname_global_test() != 345)
|
||||
throw new RuntimeException("imfuncname_test is not 345");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue