Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_NewObject_8)

Function Documentation

JNI_OJIAPITest ( JNIEnv_NewObject_8  )

Definition at line 40 of file NewObject_8.cpp.

{
  GET_JNI_FOR_TEST

  IMPLEMENT_GetMethodID_METHOD("Test5", "<init>", "()V");

  jobject obj_new = env->NewObject(clazz, MethodID, NULL);
  if(obj_new != NULL) {
      return TestResult::PASS("NewObject for class and package visible constructor");
  }else{
      return TestResult::FAIL("NewObject for class and package visible constructor");
  }
     

  return TestResult::PASS("");

}

Here is the call graph for this function: