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

Public Attributes

NesCoordinatorPtr crd
 
NesWorkerPtr wrk
 
Client::RemoteClientPtr client
 
- Public Attributes inherited from NES::Testing::BaseUnitTest
detail::TestSourceNameHelper srcName
 

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
bool stopQuery (QueryId queryId)
 
void checkForQueryStart (QueryId queryId)
 
- Protected Member Functions inherited from NES::Testing::BaseIntegrationTest
BorrowedPortPtr getAvailablePort ()
 Retrieve another free port. More...
 
std::filesystem::path getTestResourceFolder () const
 returns the test resource folder to write files More...
 

Static Protected Member Functions

static void SetUpTestCase ()
 
static void TearDownTestCase ()
 

Additional Inherited Members

- Public Member Functions inherited from NES::Testing::BaseIntegrationTest
 BaseIntegrationTest ()
 the base test class ctor that creates the internal test resources More...
 
 ~BaseIntegrationTest () override
 
void SetUp () override
 Fetches the port. More...
 
void TearDown () override
 Release internal ports. More...
 
void onFatalError (int signalNumber, std::string callstack) override
 onFatalError shall be called when a signal is caught More...
 
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::Testing::BaseUnitTest
void SetUp () override
 
void TearDown () override
 
- 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 ()
 
- Protected Attributes inherited from NES::Testing::BaseIntegrationTest
BorrowedPortPtr rpcCoordinatorPort {nullptr}
 
BorrowedPortPtr restPort {nullptr}
 

Member Function Documentation

◆ checkForQueryStart()

void NES::RemoteClientTest::checkForQueryStart ( QueryId  queryId)
inlineprotected

◆ SetUp()

void NES::RemoteClientTest::SetUp ( )
inlineoverrideprotected

References backward::details::move(), NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ SetUpTestCase()

static void NES::RemoteClientTest::SetUpTestCase ( )
inlinestaticprotected

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

Here is the call graph for this function:

◆ stopQuery()

bool NES::RemoteClientTest::stopQuery ( QueryId  queryId)
inlineprotected

References NES_DEBUG.

◆ TearDown()

void NES::RemoteClientTest::TearDown ( )
inlineoverrideprotected

References NES_DEBUG.

◆ TearDownTestCase()

static void NES::RemoteClientTest::TearDownTestCase ( )
inlinestaticprotected

References NES_INFO.

Member Data Documentation

◆ client

Client::RemoteClientPtr NES::RemoteClientTest::client

◆ crd

NesCoordinatorPtr NES::RemoteClientTest::crd

◆ wrk

NesWorkerPtr NES::RemoteClientTest::wrk

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