Back to index

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

Go to the source code of this file.


 JNI_OJIAPITest (JNIEnv_GetStaticMethodID_6)

Function Documentation

JNI_OJIAPITest ( JNIEnv_GetStaticMethodID_6  )

Definition at line 40 of file GetStaticMethodID_6.cpp.


  IMPLEMENT_GetStaticMethodID_METHOD("Test1", "Test1_method1_static", "()V");
  env->CallStaticVoidMethod(clazz, MethodID, NULL);

  if(MethodID != NULL){
    return TestResult::PASS("GetStaticMethodID for public not inherited method (sig = ()V) return correct value");
    return TestResult::FAIL("GetStaticMethodID for public not inherited method (sig = ()V) return incorrect value");

Here is the call graph for this function: