NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::LogicalExpressionTest Class Reference
Collaboration diagram for NES::LogicalExpressionTest:
[legend]

Public Member Functions

void SetUp () override
 
void testBinaryOperator (std::string const &op) noexcept
 
- Public Member Functions inherited from NES::Testing::BaseUnitTest
void SetUp () override
 
void TearDown () override
 
virtual void onFatalError (int signalNumber, std::string callstack) override
 onFatalError shall be called when a signal is caught More...
 
virtual void onFatalException (std::shared_ptr< std::exception > exception, std::string callstack) override
 onFatalException shall be called when an exception is caught More...
 
- Public Member Functions inherited from NES::detail::virtual_enable_shared_from_this< ErrorListener >
 ~virtual_enable_shared_from_this () NES_NOEXCEPT(true) override=default
 
std::shared_ptr< T1 > shared_from_this ()
 
std::weak_ptr< T1 > weak_from_this ()
 
- Public Member Functions inherited from NES::detail::virtual_enable_shared_from_this_base< true >
virtual ~virtual_enable_shared_from_this_base () NES_NOEXCEPT(isNoexceptDestructible)=default
 
- Public Member Functions inherited from NES::Testing::detail::TestWaitingHelper
 TestWaitingHelper ()
 
void startWaitingThread (std::string testName)
 
void completeTest ()
 
void failTest ()
 

Static Public Member Functions

static void SetUpTestCase ()
 

Public Attributes

std::shared_ptr< QueryParsingServicequeryParsingService
 
- Public Attributes inherited from NES::Testing::BaseUnitTest
detail::TestSourceNameHelper srcName
 

Detailed Description

Due to the order of overload resolution, the implicit conversion of 0 to a nullptr has got a higher priority as an build-in conversion than the user-defined implicit conversions to the type ExpressionItem. Check that this does not cause any issues for any logical expression

Member Function Documentation

◆ SetUp()

void NES::LogicalExpressionTest::SetUp ( )
inlineoverride

References NES::Compiler::JITCompilerBuilder::build(), NES::Compiler::CPPCompiler::create(), NES::QueryParsingService::create(), queryParsingService, NES::Compiler::JITCompilerBuilder::registerLanguageCompiler(), and NES::Testing::BaseUnitTest::SetUp().

Here is the call graph for this function:

◆ SetUpTestCase()

static void NES::LogicalExpressionTest::SetUpTestCase ( )
inlinestatic

References NES::LOG_DEBUG, NES_DEBUG, and NES::Logger::setupLogging().

Here is the call graph for this function:

◆ testBinaryOperator()

void NES::LogicalExpressionTest::testBinaryOperator ( std::string const &  op)
inlinenoexcept

References queryParsingService.

Member Data Documentation

◆ queryParsingService

std::shared_ptr<QueryParsingService> NES::LogicalExpressionTest::queryParsingService

Referenced by SetUp(), and testBinaryOperator().


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