Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_DeleteLocalRef_1)

Function Documentation

JNI_OJIAPITest ( JNIEnv_DeleteLocalRef_1  )

Definition at line 40 of file DeleteLocalRef_1.cpp.

{
  GET_JNI_FOR_TEST

  jclass clazz = env->FindClass("Test1");
  jobject obj = env->AllocObject(clazz);
  env->DeleteLocalRef(obj);

  return TestResult::PASS("DeleteLocalRef working properly with correct parameter");
}

Here is the call graph for this function: