Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_GetMethodID_4)

Function Documentation

JNI_OJIAPITest ( JNIEnv_GetMethodID_4  )

Definition at line 40 of file GetMethodID_4.cpp.

{
  GET_JNI_FOR_TEST

  IMPLEMENT_GetMethodID_METHOD("Test1", "Print_string", "");
  //env->CallVoidMethod(obj, MethodID, NULL);

  if(MethodID == NULL){
     return TestResult::PASS("GetMethodID with incorrect sig return 0, its correct");
  }else{
     return TestResult::FAIL("GetMethodID with incorrect sig doesnt return 0, its incorrect");
  }

}

Here is the call graph for this function: