TestCaseSampleR3Database_1 Class Reference
#include <TestCaseSampleR3Database_1.h>
Inheritance diagram for TestCaseSampleR3Database_1:
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:
-
It is verified that the class ID of the component has the correct value.
-
It is verified that, after instantiation, the configuration service of the component reports "not configured".
-
The component is configured and it is verified that the configuration service of the component reports "configured".
-
It is verified that the operational table is initialized to hold a copy of the default table.
-
The setter and getter methods for all parameter types are verified.
-
The pointer getter methods for all parameter types are verified.
-
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.
-
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.
-
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] |
|
The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved