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

TestCaseSampleR3Database_1 Class Reference

#include <TestCaseSampleR3Database_1.h>

Inheritance diagram for TestCaseSampleR3Database_1:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the functionalities implemented by the DC_SampleR3Database component.

An instance of the component is created and the following specific tests are performed upon it:

  1. It is verified that the class ID of the component has the correct value.
  2. It is verified that, after instantiation, the configuration service of the component reports "not configured".
  3. The component is configured and it is verified that the configuration service of the component reports "configured".
  4. It is verified that the operational table is initialized to hold a copy of the default table.
  5. The setter and getter methods for all parameter types are verified.
  6. The pointer getter methods for all parameter types are verified.
  7. Non-nominal behaviour check: it is verified that a call to a setter method with an illegal parameter identifier results in the generation of an "illegal database access" event report.
  8. Non-nominal behaviour check: it is verified that a call to a pointer getter method with an illegal parameter identifier results in the generation of an "illegal database access" event report.

  9. Non-nominal behaviour check: it is verified that a call to a getter method with an illegal parameter identifier results in the generation of "illegal database access" event report.

Note that the code for this test class - like the code for the component it tests - is automatically generated by an XSLT program. The XSLT program takes as an input an XML file (the 'Parameter Database Descriptor File') that describes the structure of the database encapsulated in the component being tested.
See also:
DC_SampleR3Database
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 50 of file TestCaseSampleR3Database_1.h.

Public Member Functions

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

virtual void runTestCase ()
 Execute the test case.


Member Function Documentation

void TestCaseSampleR3Database_1::runTestCase  )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 25 of file TestCaseSampleR3Database_1.cpp.


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