Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
ojiapitests.h File Reference
#include "nspr.h"
#include "nsString.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TestResult

Defines

#define OJI_TEST_RESULTS   "OJITestResults.txt"
#define OJI_TESTS_LIST   "OJITests.lst"
#define OJI_JNI_TESTS   "ojiapijnitests.dll"
#define OJI_JM_TESTS   "ojiapijmtests.dll"
#define OJI_TM_TESTS   "ojiapitmtests.dll"
#define OJI_LCM_TESTS   "ojiapilcmtests.dll"
#define OJI_JMPTI_TESTS   "ojiapijmptitests.dll"
#define JNI_OJIAPITest(TestName)
#define TM_OJIAPITest(TestName)
#define JM_OJIAPITest(TestName)
#define LCM_OJIAPITest(TestName)
#define GET_JNI_FOR_TEST
#define GET_TM_FOR_TEST
#define GET_JM_FOR_TEST
#define GET_LCM_FOR_TEST

Typedefs

typedef TestResult *(* TYPEOF_OJIAPITest )()
typedef TestResult *(* TYPEOF_JNI_OJIAPITest )()
typedef TestResult *(* TYPEOF_JM_OJIAPITest )()
typedef TestResult *(* TYPEOF_LCM_OJIAPITest )()
typedef TestResult *(* TYPEOF_TM_OJIAPITest )()

Enumerations

enum  StatusValue { FAIL_value = 0, PASS_value = 1 }

Define Documentation

Value:
nsIJVMManager* jvmMgr;                       \
if (NS_FAILED(GetJVMManager(&jvmMgr)) || !jvmMgr)       \
       return TestResult::FAIL("Can't get JNIEnv !");

Definition at line 99 of file ojiapitests.h.

Value:
JNIEnv* env;                 \
if (NS_FAILED(GetJNI(&env)) || !env) \
       return TestResult::FAIL("Can't get JNIEnv !");

Definition at line 88 of file ojiapitests.h.

Value:
nsILiveConnectManager* lcMgr;                 \
if (NS_FAILED(GetLiveConnectManager(&lcMgr)) || !lcMgr) \
       return TestResult::FAIL("Can't get JNIEnv !");

Definition at line 104 of file ojiapitests.h.

Value:
nsIThreadManager* threadMgr;                 \
if (NS_FAILED(GetThreadManager(&threadMgr)) || !threadMgr) \
       return TestResult::FAIL("Can't get TM !");

Definition at line 93 of file ojiapitests.h.

#define JM_OJIAPITest (   TestName)
Value:
extern "C" NS_EXPORT TestResult*             \
TestName()

Definition at line 80 of file ojiapitests.h.

#define JNI_OJIAPITest (   TestName)
Value:
extern "C" NS_EXPORT TestResult*             \
TestName()

Definition at line 72 of file ojiapitests.h.

#define LCM_OJIAPITest (   TestName)
Value:
extern "C" NS_EXPORT TestResult*             \
TestName()

Definition at line 84 of file ojiapitests.h.

#define OJI_JM_TESTS   "ojiapijmtests.dll"

Definition at line 54 of file ojiapitests.h.

#define OJI_JMPTI_TESTS   "ojiapijmptitests.dll"

Definition at line 57 of file ojiapitests.h.

#define OJI_JNI_TESTS   "ojiapijnitests.dll"

Definition at line 53 of file ojiapitests.h.

#define OJI_LCM_TESTS   "ojiapilcmtests.dll"

Definition at line 56 of file ojiapitests.h.

#define OJI_TEST_RESULTS   "OJITestResults.txt"

Definition at line 44 of file ojiapitests.h.

#define OJI_TESTS_LIST   "OJITests.lst"

Definition at line 45 of file ojiapitests.h.

#define OJI_TM_TESTS   "ojiapitmtests.dll"

Definition at line 55 of file ojiapitests.h.

#define TM_OJIAPITest (   TestName)
Value:
extern "C" NS_EXPORT TestResult*             \
TestName()

Definition at line 76 of file ojiapitests.h.


Typedef Documentation

Definition at line 67 of file ojiapitests.h.

Definition at line 66 of file ojiapitests.h.

Definition at line 68 of file ojiapitests.h.

Definition at line 63 of file ojiapitests.h.

Definition at line 69 of file ojiapitests.h.


Enumeration Type Documentation

Enumerator:
FAIL_value 
PASS_value 

Definition at line 110 of file ojiapitests.h.

                 {
  FAIL_value = 0,
  PASS_value = 1
};