35#ifndef STAGE_TEST_TEST_NEXUS_H
36#define STAGE_TEST_TEST_NEXUS_H
97 template<
typename...ARGS>
102 template<
typename...ARGS>
105 template<
typename...ARGS>
124 template<
typename...ARGS>
148 template<
typename...ARGS>
157 .
arg(
string(DataCap(args))...);
171 template<
typename...ARGS>
Attachment point to the UI-Bus.
Token or Atom with distinct identity.
type erased baseclass for building a combined hash and symbolic ID.
Helper to log and verify the occurrence of events.
EventMatch verifyMatch(string regExp) const
start a query to match with a regular expression
EventMatch & arg(ARGS const &...args)
refine filter to additionally require specific arguments
EventMatch & beforeEvent(string match)
find a match for an "event" after the current point of reference
EventMatch & on(string targetID)
refine filter to additionally match the ‘'this’` attribute
EventMatch & beforeCall(string match)
find a match for some function invocation after the current point of reference
connection point at the UI-Bus.
Interface: handling of persistent interface state.
Mock UI backbone for unit testing.
static ctrl::BusTerm & testUI()
get a connection point to a UI backbone faked for test
static void prepareDiagnosticCommandHandler()
std::function< void(lib::idi::BareEntryID const &, lib::diff::GenNode const &)> StateMarkHandler
static void zombificate(ctrl::BusTerm &)
kill the given [BusTerm] and implant a dead terminal in place
static ctrl::StateManager & getMockStateManager()
std::function< void(lib::diff::GenNode const &)> CommandHandler
static void setStateMarkHandler(StateMarkHandler=StateMarkHandler())
similar to the custom command handler this hook allows to install a closure to intercept any "state m...
static void setCommandHandler(CommandHandler=CommandHandler())
install a closure (custom handler function) to deal with any command invocations encountered in the t...
static bool wasInvoked(Symbol)
Test predicate: verify at least one actual invocation happened for the given commend,...
static Symbol prepareMockCmd()
Setup of test fixture: prepare a mocked Steam-Layer command, which accepts arguments with the denoted...
static lib::test::EventLog const & getLog()
static ctrl::StateManager & useMockStateManager()
install a standard handler for state mark messages, which is actually backed by a mock implementation...
static lib::test::EventLog const & startNewLog()
static bool wasBound(Symbol, ARGS const &...args)
Test predicate: verify by string match that the denoted command was actually bound against the given ...
static steam::control::Command fabricateNewInstance(lib::test::EventLog const &invocationLog)
Symbol getID() const noexcept
Any copy and copy construction prohibited.
Lumiera error handling (C++ interface).
Support for verifying the occurrence of events from unit tests.
Generic building block for tree shaped (meta)data structures.
Lumiera GTK UI implementation root.
Test runner and basic definitions for tests.
std::string toString(TY const &val) noexcept
get some string representation of any object, reliably.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Generate fake commands with stub operations and the ability to verify invocation.
Interface: a component to maintain persistent interface state.
generic data element node within a tree
Abstraction: a tangible element of the User Interface.