MStateAccessor Class Reference

class MStateAccessor

Comments : Mixin which is used to define a class used for state checking of a test object.

Public Member Functions
TInt Externalize(TAny *)
TInt Internalize(TAny *)
TInt InvariantTest(TAny *)

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 * aTestObjectThe 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 * aTestObjectThe 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 * aTestObjectThe object to be tested