Test suite for the DataSetType class. More...
#include <TsDataSetType.h>
Public Member Functions | |
| void | setUp () |
| void | tearDown () |
Protected Member Functions | |
| void | tcCreateDataSetTypeAndChecks () |
| Test Case: creating a DataSetType and checking all methods. More... | |
Private Member Functions | |
| CPPUNIT_TEST (tcCreateDataSetTypeAndChecks) | |
| CPPUNIT_TEST_SUITE (TsDataSetType) | |
| CPPUNIT_TEST_SUITE_END () | |
Test suite for the DataSetType class.
This test suite will perform checks in the DataSetType class without using any associated DataSource.
This test suite will check the following:
Definition at line 53 of file TsDataSetType.h.
|
private |
|
private |
|
private |
| void TsDataSetType::setUp | ( | ) |
Definition at line 38 of file TsDataSetType.cpp.
|
protected |
Test Case: creating a DataSetType and checking all methods.
Definition at line 46 of file TsDataSetType.cpp.
References te::da::ForeignKey::add(), te::da::PrimaryKey::add(), te::da::UniqueKey::add(), te::da::Index::add(), te::da::DataSetType::add(), te::dt::DATASET_TYPE, te::dt::DATE, te::dt::DATE_DURATION, te::dt::DATE_PERIOD, dt, te::dt::FIXED_STRING, te::da::UniqueKey::getAssociatedIndex(), te::da::PrimaryKey::getAssociatedIndex(), te::da::DataSetType::getCheckConstraint(), te::da::Constraint::getDataSetType(), te::da::Index::getDataSetType(), te::da::CheckConstraint::getExpression(), te::da::DataSetType::getForeignKey(), te::dt::Property::getId(), te::da::DataSetType::getIndex(), te::da::Constraint::getName(), te::dt::Property::getName(), te::da::DataSetType::getNumberOfCheckConstraints(), te::da::DataSetType::getNumberOfForeignKeys(), te::da::DataSetType::getNumberOfIndexes(), te::da::DataSetType::getNumberOfUniqueKeys(), te::dt::Property::getParent(), te::da::DataSetType::getPrimaryKey(), te::dt::CompositeProperty::getProperty(), te::da::ForeignKey::getReferencedDataSetType(), te::dt::Property::getType(), te::da::DataSetType::getUniqueKey(), te::da::PrimaryKey::has(), te::da::UniqueKey::has(), te::da::ForeignKey::has(), te::da::Index::has(), te::dt::CompositeProperty::has(), te::dt::INT32_TYPE, te::dt::ORDINAL_TIME_INSTANT, te::dt::ORDINAL_TIME_PERIOD, te::gm::PolygonMType, te::da::DataSetType::remove(), te::da::PrimaryKey::setAssociatedIndex(), te::da::UniqueKey::setAssociatedIndex(), te::da::CheckConstraint::setExpression(), te::da::Constraint::setName(), te::da::Index::setName(), te::dt::CompositeProperty::size(), te::dt::STRING, te::dt::TIME_DURATION, te::dt::TIME_INSTANT, te::dt::TIME_INSTANT_TZ, te::dt::TIME_PERIOD, te::dt::TIME_PERIOD_TZ, and te::dt::VAR_STRING.
| void TsDataSetType::tearDown | ( | ) |
Definition at line 42 of file TsDataSetType.cpp.