#include <TestCaseIntStack_1.h>
Inheritance diagram for TestCaseIntStack_1:
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.
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. |
|
Execute the test case. See class comment for details. Reimplemented from TestCaseGenericSetUp. Definition at line 28 of file TestCaseIntStack_1.cpp. |