Back to index

lightning-sunbird  0.9+nobinonly
Functions
ShowJavaConsole.cpp File Reference
#include "JVMManagerTests.h"

Go to the source code of this file.

Functions

 JM_OJIAPITest (JVMManager_ShowJavaConsole_1)
 JM_OJIAPITest (JVMManager_ShowJavaConsole_2)

Function Documentation

JM_OJIAPITest ( JVMManager_ShowJavaConsole_1  )

Definition at line 42 of file ShowJavaConsole.cpp.

                                            {
       GET_JM_FOR_TEST
       JNIEnv *jniEnv;

       jvmMgr->CreateProxyJNI(nsnull, &jniEnv);  
       nsresult rc = jvmMgr->ShowJavaConsole();
       if (NS_SUCCEEDED(rc))
              return TestResult::PASS("CreateProxyJNI is called before ShowJavaConsole.");
       return TestResult::FAIL("ShowJavaConsole", rc);

}

Here is the call graph for this function:

JM_OJIAPITest ( JVMManager_ShowJavaConsole_2  )

Definition at line 54 of file ShowJavaConsole.cpp.

                                            {
       GET_JM_FOR_TEST
       JNIEnv *jniEnv;

       nsresult rc = jvmMgr->ShowJavaConsole();
       if (NS_SUCCEEDED(rc))
              return TestResult::PASS("Method should PASS nevertheless CreateProxyJNI wasn't call before.");
       return TestResult::FAIL("ShowJavaConsole", rc);

}

Here is the call graph for this function: