OmniSciDB  04ee39c94c
TestHelpers.h File Reference
#include "../QueryEngine/TargetValue.h"
#include "Shared/Logger.h"
#include "LeafHostInfo.h"
#include <gtest/gtest.h>
#include <boost/algorithm/string.hpp>
#include <boost/program_options.hpp>
#include <boost/variant.hpp>
+ Include dependency graph for TestHelpers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TestHelpers::GeoTargetComparator
 
struct  TestHelpers::ValuesGenerator
 

Namespaces

 TestHelpers
 

Functions

template<class T >
void TestHelpers::compare_array (const TargetValue &r, const std::vector< T > &arr, const double tol=-1.)
 
template<>
void TestHelpers::compare_array (const TargetValue &r, const std::vector< std::string > &arr, const double tol)
 
template<class T >
void TestHelpers::compare_array (const std::vector< T > &a, const std::vector< T > &b, const double tol=-1.)
 
template<class T >
TestHelpers::g (const TargetValue &r)
 
template<class T >
void TestHelpers::compare_geo_target (const TargetValue &r, const T &geo_truth_target, const double tol=-1.)
 
template<class T >
TestHelpers::v (const TargetValue &r)
 
template<typename T >
std::string TestHelpers::convert (const T &t)
 
template<std::size_t N>
std::string TestHelpers::convert (const char(&t)[N])
 
template<>
std::string TestHelpers::convert (const std::string &t)
 
LeafHostInfo TestHelpers::to_leaf_host_info (std::string &server_info, NodeRole role)
 
std::vector< LeafHostInfoTestHelpers::to_leaf_host_info (std::vector< std::string > &server_infos, NodeRole role)
 
void TestHelpers::init_logger_stderr_only (int argc, char const *const *argv)