SObjectizer 5.8
Loading...
Searching...
No Matches
so_5::experimental::testing Namespace Reference

Namespaces

namespace  details
 
namespace  impl
 
namespace  v1
 

Classes

class  scenario_proxy_t
 A special wrapper around scenario object. More...
 
class  scenario_result_t
 The result of run of testing scenario. More...
 
class  step_definition_proxy_t
 A special object that should be used for definition of a step of a testing scenario. More...
 
class  testing_env_t
 A special testing environment that should be used for testing of agents. More...
 

Enumerations

enum class  scenario_status_t { not_started , in_progress , completed , timed_out }
 Status of testing scenario. More...
 

Functions

scenario_result_t completed ()
 Create a value that means that scenario completed successfuly.
 
template<typename Msg_Type >
details::trigger_source_t< details::incident_status_t::handledreacts_to ()
 Define a trigger that activates when an agent receives and handles a message from the direct mbox.
 
template<typename Msg_Type >
details::trigger_source_t< details::incident_status_t::handledreacts_to (const so_5::mbox_t &mbox)
 Define a trigger that activates when an agent receives and handles a message from the specific mbox.
 
details::store_agent_state_name_t store_state_name (std::string tag)
 Create a special marker for a trigger for storing agent's state name inside scenario.
 
template<typename Lambda >
details::store_msg_inspection_result_t inspect_msg (std::string tag, Lambda &&inspector)
 Create a special marker for a trigger for inspecting an incoming message and storing the inspection result inside the scenario.
 
details::wait_event_handler_completion_t wait_event_handler_completion ()
 Create a special marker for a trigger that requires waiting for completion of an event handler.
 
template<typename Msg_Type >
details::trigger_source_t< details::incident_status_t::ignoredignores ()
 Define a trigger that activates when an agent rejects a message from the direct mbox.
 
template<typename Msg_Type >
details::trigger_source_t< details::incident_status_t::ignoredignores (const so_5::mbox_t &mbox)
 Define a trigger that activates when an agent rejects a message from the direct mbox.
 
details::constraint_unique_ptr_t not_before (std::chrono::steady_clock::duration pause)
 Create a constraint not-before.
 
details::constraint_unique_ptr_t not_after (std::chrono::steady_clock::duration pause)
 Create a constraint not-after.
 
template<typename Msg >
details::receives_indicator_t< Msg > receives ()
 Helper function to be used for a trigger that receives a message/singal from a mbox.