rad 6.2.0
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
oldbAdapter.hpp File Reference

Dummy OldbAdapter that can be used for unit testing. More...

#include <rad/cii/oldbAdapter.hpp>

Go to the source code of this file.

Classes

class  rad::utest::OldbAdapter
 

Namespaces

namespace  rad
 
namespace  rad::utest
 

Functions

std::shared_ptr<::elt::oldb::CiiOldb > rad::utest::GetInMemoryOldbInstance ()
 
void rad::utest::CreateMetadataString (const std::string &name, const std::string &uri, std::shared_ptr<::elt::oldb::CiiOldb > instance)
 
template<typename T >
void rad::utest::CreateMetadataAndAttribute (const std::string &metadata_instance_name, const std::string &attribute_name, std::shared_ptr< elt::oldb::CiiOldb > oldb_client)
 
template<typename T >
bool rad::utest::CompareAttribute (const std::string &attribute_name, const T exp_value, rad::cii::OldbAdapter &oldb_adapter)
 
template<typename T >
bool rad::utest::CompareVector (const std::string &attribute_name, const std::vector< T > exp_values, rad::cii::OldbAdapter &oldb_adapter)
 

Detailed Description

Dummy OldbAdapter that can be used for unit testing.

Author