Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_GetSuperclass_3)

Function Documentation

JNI_OJIAPITest ( JNIEnv_GetSuperclass_3  )

Definition at line 40 of file GetSuperclass_3.cpp.

{
  GET_JNI_FOR_TEST

  jclass clazz = env->FindClass("Test3");

  jclass clazz1 = env->GetSuperclass(clazz);
  if(clazz1!=NULL){
      return TestResult::FAIL("GetSuperclass(interface) do not return NULL - incorrect");
  }else{
      return TestResult::PASS("GetSuperclass(interface) return NULL - correct");
  }
}

Here is the call graph for this function: