rad
5.1.0
|
Unit tests for the OldbAsyncWriter class. More...
#include <rad/oldbAsyncWriter.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 <boost/asio.hpp>
#include <gtest/gtest.h>
Classes | |
class | TestOldbAsyncWriter |
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 > | |
bool | CompareAttribute (const std::string &attribute_name, const T exp_value, rad::cii::OldbAdapter &oldb_adapter) |
template<typename T > | |
bool | CompareVector (const std::string &attribute_name, const std::vector< T > exp_values, rad::cii::OldbAdapter &oldb_adapter) |
TEST_F (TestOldbAsyncWriter, ctor) | |
TEST_F (TestOldbAsyncWriter, WriteStr) | |
TEST_F (TestOldbAsyncWriter, WriteAllBasicTypes) | |
TEST_F (TestOldbAsyncWriter, WriteAllVectorTypes) | |
Unit tests for the OldbAsyncWriter class.
bool CompareAttribute | ( | const std::string & | attribute_name, |
const T | exp_value, | ||
rad::cii::OldbAdapter & | oldb_adapter | ||
) |
bool CompareVector | ( | const std::string & | attribute_name, |
const std::vector< T > | exp_values, | ||
rad::cii::OldbAdapter & | oldb_adapter | ||
) |
void CreateMetadataAndAttribute | ( | const std::string & | metadata_instance_name, |
const std::string & | attribute_name, | ||
std::shared_ptr< elt::oldb::CiiOldb > | oldb_client | ||
) |
TEST_F | ( | TestOldbAsyncWriter | , |
ctor | |||
) |
TEST_F | ( | TestOldbAsyncWriter | , |
WriteAllBasicTypes | |||
) |
TEST_F | ( | TestOldbAsyncWriter | , |
WriteAllVectorTypes | |||
) |
TEST_F | ( | TestOldbAsyncWriter | , |
WriteStr | |||
) |