RTestServer Class Reference

class RTestServer : public RSessionBase

Inherits from

Public Member Functions
RTestServer ()
IMPORT_C void Close ()
IMPORT_C TInt Connect (const TFileName &, const TDesC &)
IMPORT_C TInt GetServerThreadId ( TThreadId &)
IMPORT_C TVersion Version ()
Private Member Functions
TInt FindExeL ( TFileName , TFileName &)
TInt GetCapsModifier (const TDesC &, TFileName &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RTestServer()

IMPORT_C RTestServer ( )

Constructor.

Member Functions Documentation

Close()

IMPORT_C void Close ( )

Closes the RTestServer session.

Connect(const TFileName &, const TDesC &)

IMPORT_C TInt Connect ( const TFileName & aModuleName,
const TDesC & aConfigFile
)

Connect method creates new RTestServer session that is used to manage the test case execution.

Parameters

const TFileName & aModuleName
const TDesC & aConfigFile

FindExeL(TFileName, TFileName &)

TInt FindExeL ( TFileName aModuleName,
TFileName & aPathAndExeModule
) [private]

Find exe(CapsModifier) from file system

Parameters

TFileName aModuleName
TFileName & aPathAndExeModule

GetCapsModifier(const TDesC &, TFileName &)

TInt GetCapsModifier ( const TDesC & aConfigFile,
TFileName & aCapsModifierName
) [private]

Get caps modifier module name from TestScripter's test case(config) file.

Parameters

const TDesC & aConfigFile
TFileName & aCapsModifierName

GetServerThreadId(TThreadId &)

IMPORT_C TInt GetServerThreadId ( TThreadId & aId )

GetServerThreadId returns the server thread id from the RTestServer .

Parameters

TThreadId & aId

Version()

IMPORT_C TVersion Version ( ) const

Version returns the client side version number from the RTestServer .