Back to index

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

Go to the source code of this file.

Functions

 JNI_OJIAPITest (JNIEnv_FindClass_4)

Function Documentation

JNI_OJIAPITest ( JNIEnv_FindClass_4  )

Definition at line 40 of file FindClass_4.cpp.

{
  GET_JNI_FOR_TEST

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

  if(clazz!=NULL){
      return TestResult::FAIL("FindClass(name of non existing class) return not NULL - incorrect");
  }
  return TestResult::PASS("FindClass(name of non existing class) return NULL - correct");

}

Here is the call graph for this function: