NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
JsonFormatTest.cpp File Reference
#include "FormatIteratorTestUtil.hpp"
#include <API/Schema.hpp>
#include <BaseIntegrationTest.hpp>
#include <Common/ExecutableType/Array.hpp>
#include <Runtime/BufferManager.hpp>
#include <Runtime/RuntimeForwardRefs.hpp>
#include <Sinks/Formats/JsonFormat.hpp>
#include <Util/TestTupleBuffer.hpp>
#include <gtest/gtest.h>
#include <nlohmann/json.hpp>
#include <variant>
Include dependency graph for JsonFormatTest.cpp:

Classes

struct  NES::Runtime::JsonKVPair
 In this test, the expected output is consists of JSON key value (KV) pairs. More...
 
class  NES::Runtime::JsonFormatTest
 Testing the functionality of the iterating over the json format. Since the created json objects may store the key-value-pairs in a different order, compared to our schema, we just check if the results contain the expected strings. More...
 

Namespaces

 NES
 This exception represents a network error.
 
 NES::Runtime
 Turn this on to have Thread::current_num_threads_ keep a count of currently-active threads.
 

Functions

 NES::Runtime::TEST_F (JsonFormatTest, createJsonIterator)
 Tests that we can construct a json iterator. More...
 
 NES::Runtime::TEST_F (JsonFormatTest, useJsonIteratorWithASingleInteger)
 Tests that we can convert a tuple buffer with a single integer to json. More...
 
 NES::Runtime::TEST_F (JsonFormatTest, useJsonIteratorWithUnsignedIntegers)
 Tests that we can convert a tuple buffer with unsigned integers to json. More...
 
 NES::Runtime::TEST_F (JsonFormatTest, useJsonIteratorWithSignedIntegers)
 Tests that we can convert a tuple buffer with signed integers to json. More...
 
 NES::Runtime::TEST_F (JsonFormatTest, useJsonIteratorWithSignedBoolAndChar)
 Tests that we can convert a tuple buffer with a lower and uppercase char and a true and a false bool to json. More...
 
 NES::Runtime::TEST_F (JsonFormatTest, useJsonIteratorWithFloatingPoints)
 Tests that we can convert a tuple buffer with single and a double precision to json. More...
 
 NES::Runtime::TEST_F (JsonFormatTest, useJsonIteratorWithText)
 Tests that we can convert a tuple buffer containing Text to json. More...
 
 NES::Runtime::TEST_F (JsonFormatTest, useJsonIteratorWithNumberAndText)
 Tests that we can convert a tuple buffer with a number and text to json. More...
 
 NES::Runtime::TEST_F (JsonFormatTest, useJsonIteratorWithMixedDataTypes)
 Tests that we can convert a tuple buffer with many different basic types, and multiple Text types to json. More...