Back to index

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

Go to the source code of this file.


 JNI_OJIAPITest (JNIEnv_GetJavaVM_1)

Function Documentation

JNI_OJIAPITest ( JNIEnv_GetJavaVM_1  )

Definition at line 40 of file GetJavaVM_1.cpp.


  JavaVM **vm;
  jint value = env->GetJavaVM(NULL);
  if( (int)value < 0) {
     return TestResult::PASS("GetJavaVM work properly with NULL as JavaVM **");
     return TestResult::FAIL("GetJavaVM does not work properly with NULL as JavaVM **");


Here is the call graph for this function: