Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

TestCaseIntStack_1 Class Reference

#include <TestCaseIntStack_1.h>

Inheritance diagram for TestCaseIntStack_1:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionality of the container class for items of type int.

One instance of the container class is created and the following specific checks are performed upon it : The correctness of the class identifier is checked. It is checked that the configuration check service initially reports "not configured". The stack size is set to 2 and it is checked that the set value is correctly reported. It is checked that the configuration check service reports "configured". An item is pushed onto the stack and it is checked that the stack reports "number of items on the stack equals 1". An item is popped from the stack and it is checked that the correct element is returned. A pop operation is performed and it is verified that pNULL is returned and the correct event report is generated. Three items are pushed on the stack and it is verified that only 2 are actually placed on the stack and that the correct event report is generated. It is verified that the stack is full after the second push operation. A reset operation is performed and it is verified that the number of items on the stack is zero and that the stack is empty.

This class was generated automatically by an XSLT program.

See also:
CC_IntStack
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 50 of file TestCaseIntStack_1.h.

Public Member Functions

 TestCaseIntStack_1 ()
 Set the identifier and the name of the test case to: ID_INTSTACK*10+1 and "TestCaseIntStack_1".

virtual void runTestCase ()
 Execute the test case.


Member Function Documentation

void TestCaseIntStack_1::runTestCase  )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 28 of file TestCaseIntStack_1.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved