Back to index

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

Go to the source code of this file.


 JNI_OJIAPITest (JNIEnv_IsAssignableFrom_5)

Function Documentation

JNI_OJIAPITest ( JNIEnv_IsAssignableFrom_5  )

Definition at line 40 of file IsAssignableFrom_5.cpp.


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

  if(env->IsAssignableFrom(clazz, clazz1) ){
      return TestResult::PASS("IsAssignableFrom(implements of interface, interface) return correct value");
      return TestResult::FAIL("IsAssignableFrom(implements of interface, interface) return incorrect value");


Here is the call graph for this function: