Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_GetStaticMethodID_3)

Function Documentation

JNI_OJIAPITest ( JNIEnv_GetStaticMethodID_3  )

Definition at line 40 of file GetStaticMethodID_3.cpp.

{
  GET_JNI_FOR_TEST

  IMPLEMENT_GetStaticMethodID_METHOD("Test1", NULL, "(Ljava/lang/String;)V");
  //env->CallVoidMethod(clazz, MethodID, 10);


  if(MethodID == NULL){
    return TestResult::PASS("GetStaticMethodID for name = NULL return 0, its correct");
  }else{
    return TestResult::FAIL("GetStaticMethodID for name = NULL doesnt return 0, its incorrect");
  }
}

Here is the call graph for this function: