MStateAccessor Class Reference
Comments : Mixin which is used to define a class used for state checking of a test object.
Member Functions Documentation
Externalize(TAny *)
TInt
|
Externalize
|
(
|
TAny
*
|
aTestObject
|
)
|
[pure virtual]
|
Intended Usage : Override this in the derived class to implement object state persistence.
-
Since
-
7.0
-
Pre-condition
-
A valid test object must be passed in
-
Post-condition
-
Returns an error code dependant on the result of the test
Parameters
TAny
* aTestObject
|
The object to be tested
|
Internalize(TAny *)
TInt
|
Internalize
|
(
|
TAny
*
|
aTestObject
|
)
|
[pure virtual]
|
Intended Usage : Override this in the derived class to implement object state loading.
-
Since
-
7.0
-
Pre-condition
-
A valid test object must be passed in
-
Post-condition
-
Returns an error code dependant on the result of the test
Parameters
TAny
* aTestObject
|
The object to be tested
|
InvariantTest(TAny *)
TInt
|
InvariantTest
|
(
|
TAny
*
|
aTestObject
|
)
|
[pure virtual]
|
Intended Usage : Override this in the derived class to implement invariant testing
-
Since
-
7.0
-
Pre-condition
-
A valid test object must be passed in
-
Post-condition
-
Returns an error code dependant on the result of the test
Parameters
TAny
* aTestObject
|
The object to be tested
|
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.