NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Public Member Functions | |
void | SetUp () override |
void | TearDown () override |
bool | sameStatisticsInVectors (std::vector< Statistic::HashStatisticPair > &left, std::vector< Statistic::StatisticPtr > &right) |
Checks if the left and right vector contain the same (order-insensitive) statistics. More... | |
std::pair< std::vector< Runtime::TupleBuffer >, std::vector< Statistic::StatisticPtr > > | createRandomCountMinSketches (uint64_t numberOfSketches, const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager) |
Creates #numberOfSketches random CountMin-Sketches. More... | |
std::pair< std::vector< Runtime::TupleBuffer >, std::vector< Statistic::StatisticPtr > > | createRandomHyperLogLogSketches (uint64_t numberOfSketches, const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager) |
Creates #numberOfSketches random HyperLogLog-Sketches. More... | |
![]() | |
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... | |
![]() | |
void | SetUp () override |
void | TearDown () override |
![]() | |
~virtual_enable_shared_from_this () NES_NOEXCEPT(true) override=default | |
std::shared_ptr< T1 > | shared_from_this () |
std::weak_ptr< T1 > | weak_from_this () |
![]() | |
virtual | ~virtual_enable_shared_from_this_base () NES_NOEXCEPT(isNoexceptDestructible)=default |
![]() | |
TestWaitingHelper () | |
void | startWaitingThread (std::string testName) |
void | completeTest () |
void | failTest () |
Static Public Member Functions | |
static void | SetUpTestCase () |
Public Attributes | |
int | numberOfStatistics |
Statistic::StatisticDataCodec | statisticDataCodec |
Runtime::NodeEnginePtr | nodeEngine {nullptr} |
![]() | |
detail::TestSourceNameHelper | srcName |
Additional Inherited Members | |
![]() | |
BorrowedPortPtr | getAvailablePort () |
Retrieve another free port. More... | |
std::filesystem::path | getTestResourceFolder () const |
returns the test resource folder to write files More... | |
![]() | |
BorrowedPortPtr | rpcCoordinatorPort {nullptr} |
BorrowedPortPtr | restPort {nullptr} |
|
inline |
Creates #numberOfSketches random CountMin-Sketches.
numberOfSketches | |
schema | |
bufferManager |
|
inline |
Creates #numberOfSketches random HyperLogLog-Sketches.
numberOfSketches | |
schema | |
bufferManager |
|
inline |
Checks if the left and right vector contain the same (order-insensitive) statistics.
left | |
right |
References NES_ERROR.
|
inlineoverride |
References nodeEngine, numberOfStatistics, NES::Testing::BaseIntegrationTest::SetUp(), and statisticDataCodec.
|
inlinestatic |
References NES::LOG_DEBUG, NES_INFO, and NES::Logger::setupLogging().
|
inlineoverride |
References nodeEngine, and NES::Testing::BaseIntegrationTest::TearDown().
Runtime::NodeEnginePtr NES::StatisticSinkTest::nodeEngine {nullptr} |
Referenced by SetUp(), and TearDown().
int NES::StatisticSinkTest::numberOfStatistics |
Referenced by SetUp().
Statistic::StatisticDataCodec NES::StatisticSinkTest::statisticDataCodec |
Referenced by SetUp().