MDiagSuitePlugin Class Reference
class MDiagSuitePlugin : public MDiagPlugin |
Test suite plug-in abstract interface.
Member Functions Documentation
AddChildL(MDiagPlugin *)
Add one child. Child can be either a test suite or a test plug-in.
Parameters
MDiagPlugin * aChild | - Child to be added. Ownership is transferred to MDiagPluginSuite. |
ExecutionStopL(TStopReason)
Cancels pre/post execution. Cancellation is expected to be synchronous. Suite plug-in must not call ContinueExecutionL().
Parameters
TStopReason aReason | - Reason why ExecutionStopL() is being called. |
FinalizeChildrenExecutionL(TDiagSuiteExecParam *, TBool, TBool)
void | FinalizeChildrenExecutionL | ( | TDiagSuiteExecParam * | aParam, |
| TBool | aSkipDependencyCheck, |
| TBool | aDependencyExecution |
| ) | [pure virtual] |
Called before test execution switches to another test suite.
Parameters
TDiagSuiteExecParam * aParam | |
TBool aSkipDependencyCheck | - If ETrue dependency is disabled for this test session. |
TBool aDependencyExecution | - If ETrue, this suite is being executed to satisfy dependency. |
GetChildrenL(RPointerArray< MDiagPlugin > &, TSortOrder)
Get children of this plug-in. The pointer array is guaranteed to be sorted defined by TSortOrder.
GetChildrenUidsL(RArray< TUid > &, TSortOrder)
Get the Uids. The uid is used for database access. Test suites return a list of their childrens' uids.
PrepareChildrenExecutionL(TDiagSuiteExecParam *, TBool, TBool)
void | PrepareChildrenExecutionL | ( | TDiagSuiteExecParam * | aParam, |
| TBool | aSkipDependencyCheck, |
| TBool | aDependencyExecution |
| ) | [pure virtual] |
Called before one of its test plug-in is executed. Note that it will not be called if two of its children plug-ins are executed in sequence.
Parameters
TDiagSuiteExecParam * aParam | |
TBool aSkipDependencyCheck | - If ETrue dependency is disabled for this test session. |
TBool aDependencyExecution | - If ETrue, this suite is being executed to satisfy dependency. |
Member Enumerations Documentation
Enum TSortOrder
Defines sorting algorithm.
Enumerators
ENotSorted | |
ESortByPosition | |
Enum TStopReason
Reason for execution stop.
Enumerators
ESkip | |
ECancelAll | |
EWatchdog | |
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.