OmniSciDB  04ee39c94c
UDFCompilerTest Class Reference
+ Inheritance diagram for UDFCompilerTest:
+ Collaboration diagram for UDFCompilerTest:

Protected Member Functions

 UDFCompilerTest ()
 
 ~UDFCompilerTest () override
 
void SetUp () override
 
void TearDown () override
 
void setup_objects ()
 
void remove_objects ()
 
std::string getUdfFileName () const
 

Private Attributes

boost::filesystem::path udf_file_
 

Detailed Description

Definition at line 143 of file UdfTest.cpp.

Constructor & Destructor Documentation

◆ UDFCompilerTest()

UDFCompilerTest::UDFCompilerTest ( )
inlineprotected

Definition at line 145 of file UdfTest.cpp.

145  : udf_file_(boost::filesystem::path(get_udf_filename())) {
146  if (!boost::filesystem::exists(udf_file_)) {
147  throw std::runtime_error("udf file: " + udf_file_.string() + " does not exist");
148  }
149 
150  setup_objects();
151  }
boost::filesystem::path udf_file_
Definition: UdfTest.cpp:166
void setup_objects()
Definition: UdfTest.cpp:159

◆ ~UDFCompilerTest()

UDFCompilerTest::~UDFCompilerTest ( )
inlineoverrideprotected

Definition at line 153 of file UdfTest.cpp.

153 { remove_objects(); }
void remove_objects()
Definition: UdfTest.cpp:161

Member Function Documentation

◆ getUdfFileName()

std::string UDFCompilerTest::getUdfFileName ( ) const
inlineprotected

Definition at line 163 of file UdfTest.cpp.

163 { return udf_file_.string(); }
boost::filesystem::path udf_file_
Definition: UdfTest.cpp:166

◆ remove_objects()

void UDFCompilerTest::remove_objects ( )
inlineprotected

Definition at line 161 of file UdfTest.cpp.

161 {}

◆ SetUp()

void UDFCompilerTest::SetUp ( )
inlineoverrideprotected

Definition at line 155 of file UdfTest.cpp.

155 {}

◆ setup_objects()

void UDFCompilerTest::setup_objects ( )
inlineprotected

Definition at line 159 of file UdfTest.cpp.

159 {}

◆ TearDown()

void UDFCompilerTest::TearDown ( )
inlineoverrideprotected

Definition at line 157 of file UdfTest.cpp.

157 {}

Member Data Documentation

◆ udf_file_

boost::filesystem::path UDFCompilerTest::udf_file_
private

Definition at line 166 of file UdfTest.cpp.


The documentation for this class was generated from the following file: