TestCaseWithEvtCheck.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
#ifndef TestCaseWithEvtCheckH
00013
#define TestCaseWithEvtCheckH
00014
00015
#include "../Event/DC_EventRepository.h"
00016
#include "../Utilities/TestCaseGenericSetUp.h"
00017
00018
#define verifyLatestEvent(nEvt,eventType) verifyLatestEventHidden(__LINE__,nEvt,eventType)
00019
#define verifySpecificEvent(n,eventType) verifySpecificEventHidden(__LINE__,n,eventType)
00020
00035 class TestCaseWithEvtCheck :
public TestCaseGenericSetUp {
00036
00037
public:
00043
TestCaseWithEvtCheck(
int testId,
char *testName);
00044
00048
virtual bool setUpTestCase(
void);
00049
00050
protected:
00051
00056
unsigned int getNumberOfEvents(
void)
const;
00057
00063
unsigned int getEventRepositorySize(
void)
const;
00064
00081
bool verifyLatestEventHidden(
const int line,
00082
const unsigned int nEvt,
00083
const TD_EventType eventType);
00084
00103
bool verifySpecificEventHidden(
const int line,
00104
const unsigned int n,
00105
const TD_EventType eventType);
00106 };
00107
#endif
Copyright 2003 P&P Software GmbH - All Rights Reserved