RTestExecution Class Reference
class RTestExecution : public RSubSessionBase |
Public Member Functions |
---|
IMPORT_C TInt | CancelAsyncRequest(TInt) |
IMPORT_C void | Close() |
IMPORT_C TInt | NotifyCommand(TCommandPckg &, TBuf8< KMaxCommandParamsLength > &, TRequestStatus &, TInt) |
IMPORT_C TInt | NotifyCommand2(TCommandPckg &, TDes8 &, TRequestStatus &, TInt) |
IMPORT_C TInt | NotifyData(TDes8 &, TRequestStatus &) |
IMPORT_C TInt | NotifyEvent(TEventIfPckg &, TRequestStatus &, TInt) |
IMPORT_C TInt | NotifyProgress(TTestProgressPckg &, TRequestStatus &) |
IMPORT_C TInt | NotifyRemoteCmd(TStifCommandPckg &, TPckg< TInt > &, TRequestStatus &) |
IMPORT_C TInt | Open(RTestServer &, const TInt, const TFileName &) |
IMPORT_C TInt | Pause() |
IMPORT_C TInt | ReadRemoteCmdInfo(TDes8 &, TStifCommand, TInt) |
IMPORT_C TInt | Resume() |
IMPORT_C void | RunTestCase(TFullTestResultPckg &, TRequestStatus &) |
IMPORT_C void | RunTestCase(TFullTestResultPckg &, const TDesC &, TRequestStatus &) |
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 RTestExecution subsession. Test case is normally closed immediately after the test case was completed.
NotifyCommand(TCommandPckg &, TBuf8< KMaxCommandParamsLength > &, TRequestStatus &, TInt)
NotifyCommand is used to control commands from the test case. It was created to allow test case to kill itself. DEPRECATED !! Use NotifyCommand2 instead.
NotifyCommand2(TCommandPckg &, TDes8 &, TRequestStatus &, TInt)
NotifyCommand is used to control commands from the test case. It was created to allow test case to kill itself.
NotifyData(TDes8 &, TRequestStatus &)
NotifyData is used to receive different data from the Test Server, e.g. images or web pages which can be then viewed to tester or forwarded to some kind of comparison tool.
NotifyEvent(TEventIfPckg &, TRequestStatus &, TInt)
NotifyEvent is used to control event system.
NotifyProgress(TTestProgressPckg &, TRequestStatus &)
NotifyProgress requests different progress information from the Test DLL. This information can be e.g. printed to UI. Progress information is returned to aProgress. The aProgress is TTestProgressPckg that is a packaged TTestProgress.
NotifyRemoteCmd(TStifCommandPckg &, TPckg< TInt > &, TRequestStatus &)
NotifyRemoteCmd is used to get notify.
Open(RTestServer &, const TInt, const TFileName &)
Open creates a subsession for new test case. Test case to be executed is specified by aTestCaseNumber. The aConfig specifies the optional config file where the test case is defined. Test cases that can be executed are retrieved from the Test Server by calling two-phased RTestModule::GetTestCases operation.
Pause()
Pause suspends the execution of the test case. The subsession where the test case is run will be suspended and thus the test case execution is suspended. The test case execution can be later resumed by calling Resume.
ReadRemoteCmdInfo(TDes8 &, TStifCommand, TInt)
ReadRemoteCmdInfo for remote message.
Resume()
Resume is used to resume the test case suspended by previously called Pause method. The test case execution should be continued immediately after the Resume is called.
RunTestCase(TFullTestResultPckg &, TRequestStatus &)
RunTestCase is used to execute the test case previously initialized by Open method. RunTestCase is asynchronous method and it is completed when the test case is completed. The result of the test case is returned to aStatus.
RunTestCase(TFullTestResultPckg &, const TDesC &, TRequestStatus &)
RunTestCase is used to execute the test case previously initialized by Open method. RunTestCase is asynchronous method and it is completed when the test case is completed. The result of the test case 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.