Back to index

lightning-sunbird  0.9+nobinonly
Functions
WrapJavaObject.cpp File Reference
#include <LiveConnectManagerTests.h>

Go to the source code of this file.

Functions

 LCM_OJIAPITest (LCM_WrapJavaObject_1)
 LCM_OJIAPITest (LCM_WrapJavaObject_2)

Function Documentation

LCM_OJIAPITest ( LCM_WrapJavaObject_1  )

Definition at line 40 of file WrapJavaObject.cpp.

                                     { 
       GET_LCM_FOR_TEST
       nsresult rc = lcMgr->WrapJavaObject(nsnull, nsnull, nsnull);
       if (NS_FAILED(rc))
              return TestResult::PASS("Method should fail because all parametrs are invalid.");
       return TestResult::FAIL("WrapJavaObject", rc);

}

Here is the call graph for this function:

LCM_OJIAPITest ( LCM_WrapJavaObject_2  )

Definition at line 49 of file WrapJavaObject.cpp.

                                     { 
       GET_LCM_FOR_TEST
       JSObject *out;
       nsresult rc = lcMgr->WrapJavaObject(nsnull, nsnull, &out);
       if (NS_FAILED(rc))
              return TestResult::PASS("Method should fail because first two parametrs are invalid.");
       return TestResult::FAIL("WrapJavaObject", rc);

}

Here is the call graph for this function: