CTestModule Class Reference
class CTestModule : public CSession2
|
Constructor & Destructor Documentation
CTestModule()
CTestModule
|
(
|
)
|
[private]
|
~CTestModule()
~CTestModule
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CancelAsyncRequestL(const RMessage2 &)
Cancels asynchronous request
CaseFromHandle(const TUint, const RMessage2 &)
Returns case corresponding handle
CloseSession(const RMessage2 &)
ConstructL(CTestServer *)
By default Symbian OS constructor is private.
CountResources()
TInt
|
CountResources
|
(
|
)
|
[virtual]
|
Return the number of resources owned by the session.
CreateModuleSessionL(const RMessage2 &)
DeleteTestExecution(const TUint, const RMessage2 &)
void
|
DeleteTestExecution
|
(
|
const
TUint
|
aHandle,
|
|
const
RMessage2
&
|
aMessage
|
|
)
|
|
Destroy the created
CTestExecution
subsession. Cannot fail - can panic client.
DispatchMessageL(const RMessage2 &)
EnumerateTestCasesL(const RMessage2 &)
ErrorPrint(const TInt, TPtrC)
void
|
ErrorPrint
|
(
|
const
TInt
|
aPriority,
|
|
TPtrC
|
aError
|
|
)
|
|
Prints error notification
FreeCaseData()
Frees a test case specific data owned by module( i.e enumeration data )
FreeTestModule(CTestModuleContainer *)
GetServerThreadIdL(const RMessage2 &)
GetTestCaseTitleL(TInt, const TDesC &, TDes &)
void
|
GetTestCaseTitleL
|
(
|
TInt
|
aTestCaseNumber,
|
|
const
TDesC
&
|
aConfigFile,
|
|
TDes
&
|
aTestCaseTitle
|
|
)
|
|
Get title of currently running test case
Parameters
TInt
aTestCaseNumber
|
|
const
TDesC
& aConfigFile
|
|
TDes
& aTestCaseTitle
|
|
GetTestCasesL(const RMessage2 &)
GetTestModule(CTestModuleContainer *&, const TDesC &)
GetTestServer()
Get pointer to test server
HandleErrorNotificationL(const RMessage2 &)
Handles error notifications
IniName()
const
TDesC
&
|
IniName
|
(
|
)
|
const
|
Returns module initialisation file name
Name()
const
TDesC
&
|
Name
|
(
|
)
|
const
|
NewL(CTestServer *)
Construct a test module object.
NewTestExecutionL(const RMessage2 &)
NumResources(const RMessage2 &)
void
|
NumResources
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
|
NumResources is used to provide reserver resources to client.
PanicClient(TInt, const RMessage2 &)
void
|
PanicClient
|
(
|
TInt
|
aPanic,
|
|
const
RMessage2
&
|
aMessage
|
|
)
|
const
|
PanicClient panics the user of CTestModule( RTestModule user )
ServiceL(const RMessage2 &)
void
|
ServiceL
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
[virtual]
|
Write(const TAny *, const TDesC8 &, TInt)
void
|
Write
|
(
|
const
TAny
*
|
aPtr,
|
|
const
TDesC8
&
|
aDes,
|
|
TInt
|
anOffset = 0
|
|
)
|
|
Member Data Documentation
CTestModuleContainer * iEnumerateModule
TBool
iErrorMessageAvailable
TBool
|
iErrorMessageAvailable
|
[private]
|
HBufC * iIniBuffer
HBufC
*
|
iIniBuffer
|
[private]
|
TInt
iResourceCount
TInt
|
iResourceCount
|
[private]
|
RPointerArray< CTestCasesList > iTestCaseTitlesMap
CObjectIx * iTestExecutionHandle
RPointerArray< CTestModuleContainer > * iTestModuleInstances
CTestServer * iTestServer
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.