Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_GetSuperclass_1)

Function Documentation

JNI_OJIAPITest ( JNIEnv_GetSuperclass_1  )

Definition at line 40 of file GetSuperclass_1.cpp.

{
  GET_JNI_FOR_TEST

  jclass clazz1 = env->GetSuperclass(NULL);
  printf("GetSuperPassed");

  if(clazz1 == NULL ){
    return TestResult::PASS("GetSuperclass(NULL) return NULL - correct");
  }else{
    return TestResult::FAIL("GetSuperclass(NULL) return not NULL - incorrect");
  }
}

Here is the call graph for this function: