Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_IsAssignableFrom_5)

Function Documentation

JNI_OJIAPITest ( JNIEnv_IsAssignableFrom_5  )

Definition at line 40 of file IsAssignableFrom_5.cpp.

{
  GET_JNI_FOR_TEST

  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");
  }else{
      return TestResult::FAIL("IsAssignableFrom(implements of interface, interface) return incorrect value");
  }



}

Here is the call graph for this function: