Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_NewObjectA_9)

Function Documentation

JNI_OJIAPITest ( JNIEnv_NewObjectA_9  )

Definition at line 40 of file NewObjectA_9.cpp.

{
  GET_JNI_FOR_TEST

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

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

  return TestResult::PASS("");

}

Here is the call graph for this function: