TTransitionValidator Class Reference
class TTransitionValidator
|
Comments : Placeholder for the functions which validate the state of a transition before and after its execution.
Constructor & Destructor Documentation
TTransitionValidator(CUnitTestContext &)
Intended Usage : Standard constructor
-
Since
-
7.0
Parameters
CUnitTestContext
& aUTContext
|
The context within which this transition is executing
|
~TTransitionValidator()
~TTransitionValidator
|
(
|
)
|
[inline, virtual]
|
Intended Usage : Standard Destructor. Error Condition : None.
-
Since
-
7.0
Member Functions Documentation
ValidatePostConditions(TTestBedAsyncState)
Intended Usage : Overridden in the derived transition to check the transition post conditions. When overriding, if the transition calls an asynchronous function ValidatePostConditions will be called twice. Firstly, after the asynchronous function has been called and, secondly, after the asynchronous request has completed. The parameter aAsyncState can be used to distinguish between these two cases.
-
Since
-
7.0
-
Pre-condition
-
This
CTransition
is fully constructed
-
Post-condition
-
Unspecified
Parameters
TTestBedAsyncState
aAsyncState
|
EAsyncCalled if the async function has been just been called, EAsyncCompleted if the function has completed.
|
ValidatePreConditions()
TBool
|
ValidatePreConditions
|
(
|
)
|
[inline, virtual]
|
Intended Usage : Overridden in the derived transition to check the transition pre conditions.
-
Since
-
7.0
-
Pre-condition
-
This
CTransition
is fully constructed
-
Post-condition
-
Returns the validity of the preconditions
Member Data Documentation
CUnitTestContext & iUTContext
The context that this transition will be executing in
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.