RTestCase Class Reference
class RTestCase : public RSubSessionBase |
Inherited Functions |
---|
| RSubSessionBase::CloseSubSession(TInt) |
| RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &) |
| RSubSessionBase::CreateSubSession(const RSessionBase &,TInt) |
| RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &) |
| RSubSessionBase::RSubSessionBase() |
| RSubSessionBase::Send(TInt)const |
| RSubSessionBase::Send(TInt,const TIpcArgs &)const |
| RSubSessionBase::SendReceive(TInt)const |
| RSubSessionBase::SendReceive(TInt,TRequestStatus &)const |
| RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const |
| RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const |
| RSubSessionBase::Session()const |
| RSubSessionBase::SubSessionHandle()const |
Member Functions Documentation
CancelAsyncRequest(TInt)
IMPORT_C TInt | CancelAsyncRequest | ( | TInt | aReqToCancel | ) | |
Asynchronous request can be canceled with CancelAsyncRequest method. The aReqToCancel parameter defines the request that will be canceled.
Close()
Closes the RTestCase subsession. Test case is normally closed immediately after the test case was completed.
NotifyProgress(TTestProgressPckg &, TRequestStatus &)
NotifyProgress requests different progress information from the test case execution. This information can be printed to UI. The progress information is returned to aProgress. The aProgress is TTestProgressPckg that is a packaged TTestProgress
NotifyRemoteMsg(TDes8 &, TStifCommand)
NotifyRemoteMsg gets messages.
NotifyRemoteType(TStifCommandPckg &, TPckg< TInt > &, TRequestStatus &)
NotifyRemoteType requests enable message waiting.
Open(RTestEngineServer &, const TTestInfoPckg &)
Open creates a subsession for new test case. Test case is initialized using aTestCaseInfo parameter. The aTestCaseInfo is TTestInfoPckg that is a packaged TTestInfo. TTestInfo is got from the Test Engine by calling RTestEngine::GetTestCases method. If there was previously called RemoveTestModule for the Test Module that is defined in aTestCaseInfo this method returns KErrLocked. This means that new test cases cannot be run from this Test Module and the user should inquire test cases available calling RTestEngine::GetTestCases.
Pause()
Pause suspends the execution of the test case. The subsession where the test case is run is suspended and thus the test case execution is suspended. Test case execution can be later resumed by calling Resume.
Resume()
Resume is used to resume the test case suspended by previously called Pause method. The test case execution should be continued immediately when the Resume is called.
RunTestCase(TFullTestResultPckg &, TRequestStatus &)
RunTestCase is asynchronous method and it is completed when the test case is completed. Result of the test case is returned to aTestResult. The aTestResult is TFullTestResultPckg that is a packaged TFullTestResult. The aStatus will have the completion result of this function. If the test case could be run (despite of succesfully or not) the KErrNone is returned to aStatus.
RunTestCase(TFullTestResultPckg &, const TDesC &, TRequestStatus &)
RunTestCase is asynchronous method and it is completed when the test case is completed. Result of the test case is returned to aTestResult. The aTestResult is TFullTestResultPckg that is a packaged TFullTestResult. The aStatus will have the completion result of this function. If the test case could be run (despite of succesfully or not) the KErrNone is returned to aStatus.
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.