Back to index

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

Go to the source code of this file.

Functions

 LCM_OJIAPITest (LCM_StartupLiveConnect_1)
 LCM_OJIAPITest (LCM_StartupLiveConnect_2)

Function Documentation

LCM_OJIAPITest ( LCM_StartupLiveConnect_1  )

Definition at line 40 of file StartupLiveConnect.cpp.

                                         { 
       GET_LCM_FOR_TEST
       PRBool *out = nsnull;
       nsresult rc = lcMgr->StartupLiveConnect(nsnull, *out);
       if (NS_FAILED(rc))
              return TestResult::PASS("Method should fail because no memory is allocated for the result value.");
       return TestResult::FAIL("StartupLiveConnect", rc);
}

Here is the call graph for this function:

LCM_OJIAPITest ( LCM_StartupLiveConnect_2  )

Definition at line 49 of file StartupLiveConnect.cpp.

                                         { 
       GET_LCM_FOR_TEST
       PRBool out;
       nsresult rc = lcMgr->StartupLiveConnect(nsnull, out);
       if (NS_FAILED(rc))
              return TestResult::PASS("Method should fail because first parameter is invalid.");
       return TestResult::FAIL("StartupLiveConnect", rc);

}

Here is the call graph for this function: