class CStifTFwIf : public CBase |
Public Member Functions | |
---|---|
~CStifTFwIf () |
Protected Member Functions | |
---|---|
CStifTFwIf () | |
IMPORT_C TInt | AddTestCaseFile ( TDesC &, TDesC &) |
IMPORT_C TInt | AddTestModule ( TDesC &, TDesC &) |
IMPORT_C TInt | AtsReceive (const TDesC &) |
void | AtsSend (const TDesC &) |
IMPORT_C TInt | CancelTestCase ( TInt ) |
IMPORT_C TInt | Close () |
TUint16 | DevId () |
IMPORT_C TInt | GetTestCases ( RPointerArray < CTestInfo > &, TDesC &, TDesC &) |
void | GoingToDoReset () |
IMPORT_C TInt | Open ( TDesC &) |
IMPORT_C TInt | PauseTestCase ( TInt ) |
void | Print ( TInt , TTestProgress &) |
IMPORT_C TInt | RemoveTestCaseFile ( TDesC &, TDesC &) |
IMPORT_C TInt | RemoveTestModule ( TDesC &) |
IMPORT_C TInt | ResumeTestCase ( TInt ) |
IMPORT_C TInt | SetAttribute ( TAttribute , const TDesC &) |
IMPORT_C TInt | StartTestCase ( TInt &, const CTestInfo &) |
void | TestCompleted ( TInt , TInt , TTestResult &) |
Private Attributes | |
---|---|
CStifTFw * | iStifTFw |
IMPORT_C TInt | AddTestCaseFile | ( | TDesC & | aModuleName, |
TDesC & | aCaseFile | |||
) | [protected] |
Used to add test case file for test module.
Returns Symbian OS error code.
IMPORT_C TInt | AddTestModule | ( | TDesC & | aModuleName, |
TDesC & | aIniFile = ( TDesC &) KNullDesC () | |||
) | [protected] |
Used to add test module to test framework.
Returns Symbian OS error code.
IMPORT_C TInt | AtsReceive | ( | const TDesC & | aMessage | ) | [protected] |
Receive message from ATS.
Returns Symbian OS error code.
const TDesC & aMessage |
void | AtsSend | ( | const TDesC & | ) | [protected, inline, virtual] |
Send message to ATS.
const TDesC & |
IMPORT_C TInt | CancelTestCase | ( | TInt | aTestId | ) | [protected] |
Cancel test case execution. TestCompleted() will be called with aTestExecutionResult set to KErrCancel.
Returns Symbian OS error code.
TInt aTestId |
IMPORT_C TInt | Close | ( | ) | [protected] |
Used to close TestFramework.
Returns Symbian OS error code.
TUint16 | DevId | ( | ) | [protected, inline, virtual] |
Get device identifier, should be overridden to make them unique among slaves. Returns default value for every slave otherwise.
IMPORT_C TInt | GetTestCases | ( | RPointerArray < CTestInfo > & | aTestInfo, |
TDesC & | aTestModule = ( TDesC &) KNullDesC (), | |||
TDesC & | aTestCaseFile = ( TDesC &) KNullDesC () | |||
) | [protected] |
Get testcases from test modules. Returns test case information in aTestinfo. Test module name and test case file can be used to limit the set of test cases returned.
Returns Symbian OS error code.
void | GoingToDoReset | ( | ) | [protected, inline, virtual] |
Reboot indication. After this function returns, reboot is done by test module or STIF TF.
IMPORT_C TInt | Open | ( | TDesC & | aTestFrameworkIni = ( TDesC &) KNullDesC () | ) | [protected] |
Used to open TestFramework.
Returns Symbian OS error code.
IMPORT_C TInt | PauseTestCase | ( | TInt | aTestId | ) | [protected] |
Pause test case execution.
Returns Symbian OS error code.
TInt aTestId |
void | ( | TInt | , | |
TTestProgress & | ||||
) | [protected, inline, virtual] |
Function is called when test case prints.
TInt | |
TTestProgress & |
IMPORT_C TInt | RemoveTestCaseFile | ( | TDesC & | aModuleName, |
TDesC & | aCaseFile | |||
) | [protected] |
Used to remove test case file from test module.
Returns Symbian OS error code.
IMPORT_C TInt | RemoveTestModule | ( | TDesC & | aModuleName | ) | [protected] |
Used to remove test module to test framework.
Returns Symbian OS error code.
TDesC & aModuleName |
IMPORT_C TInt | ResumeTestCase | ( | TInt | aTestId | ) | [protected] |
Resume test case execution.
Returns Symbian OS error code.
TInt aTestId |
IMPORT_C TInt | SetAttribute | ( | TAttribute | aAttribute, |
const TDesC & | aValue | |||
) | [protected] |
Used to set attributes for test framework.
Returns Symbian OS error code.
TAttribute aAttribute | |
const TDesC & aValue |
IMPORT_C TInt | StartTestCase | ( | TInt & | aTestId, |
const CTestInfo & | aTestInfo | |||
) | [protected] |
Start selected test case identified with CTestInfo . Return TestId, which is handle used in subsequent test case execution control.
Returns Symbian OS error code.
void | TestCompleted | ( | TInt | aTestId, |
TInt | aTestExecutionResult, | |||
TTestResult & | aTestResult | |||
) | [protected, pure virtual] |
Function is called when test execution is finished with information of test case, result of test case execution and test case result.
TInt aTestId | |
TInt aTestExecutionResult | |
TTestResult & aTestResult |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.