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

TestCaseBasicDatabase_1 Class Reference

#include <TestCaseBasicDatabase_1.h>

Inheritance diagram for TestCaseBasicDatabase_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the functionalities implemented by the DC_BasicDatabase 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 database size is set and then read back and it is checked that the read-back value is correct.
  4. The configuration of the database component is completed by loading the default and operational tables and it is verified that the configuration service of the component reports "configured".
  5. It is verified that the operational table is initialized to hold a copy of the default table.
  6. The setter and getter methods for all parameters types are verified.
  7. The pointer getter methods for all parameters types are verified.
See also:
DC_BasicDatabase
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 37 of file TestCaseBasicDatabase_1.h.

Public Member Functions

 TestCaseBasicDatabase_1 (void)
 Set the identifier and the name of the test case to, respectively, ID_BASICDATABASE*10+1 and "TestCaseBasicDatabase_1".

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseBasicDatabase_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 24 of file TestCaseBasicDatabase_1.cpp.


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