CTCTestCase Class Reference

class CTCTestCase : public CTestCase

Inherits from

Public Member Functions
~CTCTestCase ()
void Complete2 ()
RPointerArray < CTestEventNotify > & EventArray ()
TBool IsCompletelyFinished (void)
const TDesC & ModuleName ()
CTCTestCase * NewL ( CTestCombiner *, TDesC &, TDesC &, TInt , TFullTestResult::TCaseExecutionResult , const TDesC &, CTCTestModule *)
void StartL ()
RPointerArray < TEventIf > & StateEventArray ()
const TDesC & TestCaseArguments ()
RTestExecution & TestExecution ()
Protected Member Functions
void DoCancel ()
Private Member Functions
CTCTestCase ( CTestCombiner *, TInt , TFullTestResult::TCaseExecutionResult , const TDesC &, CTCTestModule *)
void Complete ( TInt )
void ConstructL ( TDesC &, TDesC &, const TDesC &)
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CTestCase::CTestCase(CTestCombiner *,TInt,TFullTestResult::TCaseExecutionResult,TCaseType,CTCTestModule *)
CTestCase::ConstructL(TDesC &)
CTestCase::ExpectedResult()
CTestCase::ExpectedResultCategory()
CTestCase::RunL()
CTestCase::State()
CTestCase::TestId()
CTestCase::TestModule(void)
CTestCase::Type()
CTestCase::~CTestCase()
Inherited Enumerations
CActive:TPriority
CTestCase:TCaseType
CTestCase:TTestCaseStatus
Public Attributes
TFullTestResultPckg iResultPckg
Private Attributes
CTestCommandNotifier * iCommand
CTestEventNotifier * iEvent
RPointerArray < CTestEventNotify > iEventArray
HBufC * iModuleName
CTestProgressNotifier * iProgress
RPointerArray < TEventIf > iStateEventArray
HBufC * iTestCaseArguments
RTestExecution iTestExecution
Inherited Attributes
CActive::iStatus
CTestCase::iExpectedResult
CTestCase::iExpectedResultCategory
CTestCase::iResult
CTestCase::iState
CTestCase::iTestCombiner
CTestCase::iTestId
CTestCase::iType

Constructor & Destructor Documentation

CTCTestCase(CTestCombiner *, TInt, TFullTestResult::TCaseExecutionResult, const TDesC &, CTCTestModule *)

CTCTestCase ( CTestCombiner * testCombiner,
TInt aExpectedResult,
TFullTestResult::TCaseExecutionResult aCategory,
const TDesC & aTestCaseArguments,
CTCTestModule * aModule
) [private]

C++ default constructor.

Parameters

CTestCombiner * testCombiner
TInt aExpectedResult
TFullTestResult::TCaseExecutionResult aCategory
const TDesC & aTestCaseArguments
CTCTestModule * aModule

~CTCTestCase()

~CTCTestCase ( )

Destructor.

Member Functions Documentation

Complete(TInt)

void Complete ( TInt aError ) [private, virtual]

Start complete the testcase(Complete2 make the final complete).

Parameters

TInt aError

Complete2()

void Complete2 ( )

Final complete of the testcase.

ConstructL(TDesC &, TDesC &, const TDesC &)

void ConstructL ( TDesC & aModuleName,
TDesC & aTestId,
const TDesC & aTestCaseArguments
) [private]

By default Symbian OS constructor is private.

Parameters

TDesC & aModuleName
TDesC & aTestId
const TDesC & aTestCaseArguments

DoCancel()

void DoCancel ( ) [protected, virtual]

DoCancel derived from CActive handles the Cancel

EventArray()

RPointerArray < CTestEventNotify > & EventArray ( ) [inline]

Get reference to event array.

IsCompletelyFinished(void)

TBool IsCompletelyFinished ( void ) [virtual]

Checks state and progress notifier

Parameters

void

ModuleName()

const TDesC & ModuleName ( ) [inline]

Get reference to ModuleName.

NewL(CTestCombiner *, TDesC &, TDesC &, TInt, TFullTestResult::TCaseExecutionResult, const TDesC &, CTCTestModule *)

CTCTestCase * NewL ( CTestCombiner * testCombiner,
TDesC & aModuleName,
TDesC & aTestId,
TInt aExpectedResult,
TFullTestResult::TCaseExecutionResult aCategory,
const TDesC & aTestCaseArguments,
CTCTestModule * aModule
) [static]

Two-phased constructor.

Parameters

CTestCombiner * testCombiner
TDesC & aModuleName
TDesC & aTestId
TInt aExpectedResult
TFullTestResult::TCaseExecutionResult aCategory
const TDesC & aTestCaseArguments
CTCTestModule * aModule

StartL()

void StartL ( ) [virtual]

StateEventArray()

RPointerArray < TEventIf > & StateEventArray ( ) [inline]

Get reference to state event array.

TestCaseArguments()

const TDesC & TestCaseArguments ( ) const

Get test case arguments

TestExecution()

RTestExecution & TestExecution ( ) [inline]

Get reference to RTestExecution .

Member Data Documentation

CTestCommandNotifier * iCommand

CTestCommandNotifier * iCommand [private]

CTestEventNotifier * iEvent

CTestEventNotifier * iEvent [private]

RPointerArray< CTestEventNotify > iEventArray

RPointerArray < CTestEventNotify > iEventArray [private]

HBufC * iModuleName

HBufC * iModuleName [private]

CTestProgressNotifier * iProgress

CTestProgressNotifier * iProgress [private]

TFullTestResultPckg iResultPckg

TFullTestResultPckg iResultPckg

RPointerArray< TEventIf > iStateEventArray

RPointerArray < TEventIf > iStateEventArray [private]

HBufC * iTestCaseArguments

HBufC * iTestCaseArguments [private]

RTestExecution iTestExecution

RTestExecution iTestExecution [private]