|
rad 6.2.0
|
Unit tests for the OldbAdapter class. More...
#include <rad/cii/oldbAdapter.hpp>#include <ciiOldbFactory.hpp>#include <ciiOldbProviderFactory.hpp>#include <ciiOldbDataPoint.hpp>#include <ciiOldbSubscription.hpp>#include <ciiOldbConfigClass.hpp>#include <meta/mdOldb.hpp>#include <meta/mdOldbMatrix.hpp>#include <mal/utility/Uri.hpp>#include <provider/ciiOldbInMemoryDataPointProvider.hpp>#include <provider/ciiOldbLocalFileProvider.hpp>#include <provider/ciiOldbDirectoryTreeProvider.hpp>#include <gtest/gtest.h>Classes | |
| class | OldbAdapterDummy |
| class | OldbAdapterBad |
| class | TestOldbAdapter |
Functions | |
| template<typename T > | |
| void | CreateMetadataAndAttribute (const std::string &metadata_instance_name, const std::string &attribute_name, std::shared_ptr< elt::oldb::CiiOldb > oldb_client) |
| template<typename T > | |
| void | VerifyAttribute (const std::string &attribute_name, const T exp_value, rad::cii::OldbAdapter &oldb_adapter) |
| template<typename T > | |
| void | VerifyVector (const std::string &attribute_name, const std::vector< T > exp_values, rad::cii::OldbAdapter &oldb_adapter) |
| TEST_F (TestOldbAdapter, Ctor) | |
| TEST_F (TestOldbAdapter, CtorDummy) | |
| TEST_F (TestOldbAdapter, String) | |
| TEST_F (TestOldbAdapter, Int32) | |
| TEST_F (TestOldbAdapter, Failures) | |
| TEST_F (TestOldbAdapter, TrySetScalarTypes) | |
| TEST_F (TestOldbAdapter, TrySetVectorTypes) | |
| TEST_F (TestOldbAdapter, TrySetMatrixTypes) | |
Unit tests for the OldbAdapter class.
| void CreateMetadataAndAttribute | ( | const std::string & | metadata_instance_name, |
| const std::string & | attribute_name, | ||
| std::shared_ptr< elt::oldb::CiiOldb > | oldb_client ) |
| TEST_F | ( | TestOldbAdapter | , |
| Ctor | ) |
| TEST_F | ( | TestOldbAdapter | , |
| CtorDummy | ) |
| TEST_F | ( | TestOldbAdapter | , |
| Failures | ) |
| TEST_F | ( | TestOldbAdapter | , |
| Int32 | ) |
| TEST_F | ( | TestOldbAdapter | , |
| String | ) |
| TEST_F | ( | TestOldbAdapter | , |
| TrySetMatrixTypes | ) |
| TEST_F | ( | TestOldbAdapter | , |
| TrySetScalarTypes | ) |
| TEST_F | ( | TestOldbAdapter | , |
| TrySetVectorTypes | ) |
| void VerifyAttribute | ( | const std::string & | attribute_name, |
| const T | exp_value, | ||
| rad::cii::OldbAdapter & | oldb_adapter ) |
| void VerifyVector | ( | const std::string & | attribute_name, |
| const std::vector< T > | exp_values, | ||
| rad::cii::OldbAdapter & | oldb_adapter ) |