Back to index

lightning-sunbird  0.9+nobinonly
CallCharMethod_4.cpp File Reference
#include "JNIEnvTests.h"
#include "CallingInstanceMethods.h"

Go to the source code of this file.


 JNI_OJIAPITest (JNIEnv_CallCharMethod_4)

Function Documentation

JNI_OJIAPITest ( JNIEnv_CallCharMethod_4  )

Definition at line 40 of file CallCharMethod_4.cpp.


  IMPLEMENT_GetMethodID_METHOD("Test1", "Test1_method_char", "(ZBCSIJFDLjava/lang/String;[Ljava/lang/String;)C");
  jchar value = env->CallCharMethod(obj, MethodID, JNI_TRUE, MIN_JBYTE, NULL, 1, 123, 0, 0, 100, NULL, NULL);
  if(value == (jchar)NULL){
     return TestResult::PASS("CallCharMethod for public not inherited method (sig = (ZBCSIJFDLjava/lang/String;[Ljava/lang/String;)C) return correct value");
     return TestResult::FAIL("CallCharMethod for public not inherited method (sig = (ZBCSIJFDLjava/lang/String;[Ljava/lang/String;)C) return incorrect value");


Here is the call graph for this function: