Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_GetJavaVM_2)

Function Documentation

JNI_OJIAPITest ( JNIEnv_GetJavaVM_2  )

Definition at line 40 of file GetJavaVM_2.cpp.

{
  GET_JNI_FOR_TEST

  JavaVM *vm;
  jint value = env->GetJavaVM(&vm);
  if( (int)value == 0 && vm != NULL) {
     return TestResult::PASS("GetJavaVM work properly with correct parameters");
  }else{
     return TestResult::FAIL("GetJavaVM does not work properly with correct parameters");
  }


}

Here is the call graph for this function: