Back to index

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

Go to the source code of this file.

Functions

 LCM_OJIAPITest (LCM_IsLiveConnectEnabled_1)
 LCM_OJIAPITest (LCM_IsLiveConnectEnabled_2)

Function Documentation

LCM_OJIAPITest ( LCM_IsLiveConnectEnabled_1  )

Definition at line 40 of file IsLiveConnectEnabled.cpp.

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

}

Here is the call graph for this function:

LCM_OJIAPITest ( LCM_IsLiveConnectEnabled_2  )

Definition at line 50 of file IsLiveConnectEnabled.cpp.

                                           { 
       GET_LCM_FOR_TEST
       PRBool out;
       nsresult rc = lcMgr->IsLiveConnectEnabled(out);
       if (NS_SUCCEEDED(rc))
              return TestResult::PASS("Method should work OK.");
       return TestResult::FAIL("IsLiveConnectEnabled", rc);

}

Here is the call graph for this function: