Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_NewObject_9)

Function Documentation

JNI_OJIAPITest ( JNIEnv_NewObject_9  )

Definition at line 40 of file NewObject_9.cpp.

{
  GET_JNI_FOR_TEST

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

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

  return TestResult::PASS("");

}

Here is the call graph for this function: