Back to index

lightning-sunbird  0.9+nobinonly
GetStaticMethodID_4.cpp File Reference
#include "JNIEnvTests.h"
#include "CallingStaticMethods.h"

Go to the source code of this file.


 JNI_OJIAPITest (JNIEnv_GetStaticMethodID_4)

Function Documentation

JNI_OJIAPITest ( JNIEnv_GetStaticMethodID_4  )

Definition at line 40 of file GetStaticMethodID_4.cpp.


  IMPLEMENT_GetStaticMethodID_METHOD("Test1", "Print_string_static", "");
  //env->CallVoidMethod(clazz, MethodID, NULL);

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


Here is the call graph for this function: