Sen API
Sen Libraries
Loading...
Searching...
No Matches
helpers.h File Reference
#include "sen/core/base/class_helpers.h"
#include "sen/core/base/timestamp.h"
#include "test_helpers/test_helpers.stl.h"
#include "sen/core/base/compiler_macros.h"
#include "sen/core/meta/var.h"
#include "sen/core/obj/connection_guard.h"
#include "sen/core/obj/object_source.h"
#include "sen/core/obj/subscription.h"
#include "sen/kernel/component_api.h"
#include <spdlog/logger.h>
#include <algorithm>
#include <array>
#include <cmath>
#include <future>
#include <list>
#include <memory>
#include <string>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Classes

class  sen::test::ProcessTerminatorImpl
 Terminates each process where it is included (via the kernel API) when it detects that all StatefulObjects in the process are 'finished'. More...
class  sen::test::StateFulObjectImpl
 Holds a connection state. More...
class  sen::test::PublisherImpl
 Performs actions in the integration test. These normally include creating, erasing and modifying objects. More...
class  sen::test::ListenerImpl
 Reacts to action performs by the publisher and compares the result to the test expectation. These reactions normally involve creating subscriptions for objects, installing callbacks for property changes, etc. More...

Namespaces

namespace  sen
namespace  sen::test

Functions

template<typename T>
bool sen::test::eq (T a, T b)
template<typename PropType>
bool sen::test::checkProp (std::promise< TestResult > &promise, const std::string &propName, sen::MaybeRef< PropType > value, sen::MaybeRef< PropType > expectation)
bool sen::test::checkMember (std::promise< TestResult > &promise, const std::string &memberName, bool isOk)
template<typename T>
bool sen::test::allObjectsWithState (const std::list< T * > &objects, const ConnectionState state)