|
SObjectizer 5.8
|
Testing related stuff. More...
Go to the source code of this file.
Namespaces | |
| namespace | so_5 |
| Private part of message limit implementation. | |
| namespace | so_5::experimental |
| namespace | so_5::experimental::testing |
| namespace | so_5::experimental::testing::v1 |
| namespace | so_5::experimental::testing::v1::details |
| namespace | so_5::experimental::testing::v1::details::mbox_receives_msg_impl |
Typedefs | |
| using | so_5::experimental::testing::v1::details::trigger_unique_ptr_t = std::unique_ptr< trigger_t > |
| An alias for unique_ptr of trigger. | |
| using | so_5::experimental::testing::v1::details::trigger_container_t = std::vector< trigger_unique_ptr_t > |
| An alias for type of tigger's container. | |
| using | so_5::experimental::testing::v1::details::constraint_unique_ptr_t = std::unique_ptr< constraint_t > |
| An alias for unique_ptr of constraint. | |
| using | so_5::experimental::testing::v1::details::constraint_container_t = std::vector< constraint_unique_ptr_t > |
| An alias for container of constraints. | |
| using | so_5::experimental::testing::v1::details::preactivate_action_t = std::function< void() > |
| An alias for type of step's preactivation action. | |
| using | so_5::experimental::testing::v1::details::step_unique_ptr_t = std::unique_ptr< abstract_scenario_step_t > |
| An alias for unique_ptr of scenario-step. | |
Enumerations | |
| enum class | so_5::experimental::testing::v1::details::incident_status_t { so_5::experimental::testing::v1::details::handled , so_5::experimental::testing::v1::details::ignored } |
| What happened with source of an event. More... | |
| enum class | so_5::experimental::testing::v1::scenario_status_t { so_5::experimental::testing::v1::not_started , so_5::experimental::testing::v1::in_progress , so_5::experimental::testing::v1::completed , so_5::experimental::testing::v1::timed_out } |
| Status of testing scenario. More... | |
Functions | |
| scenario_result_t | so_5::experimental::testing::v1::completed () |
| Create a value that means that scenario completed successfuly. | |
| template<typename Msg_Type > | |
| details::trigger_source_t< details::incident_status_t::handled > | so_5::experimental::testing::v1::reacts_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::handled > | so_5::experimental::testing::v1::reacts_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 | so_5::experimental::testing::v1::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 | so_5::experimental::testing::v1::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 | so_5::experimental::testing::v1::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::ignored > | so_5::experimental::testing::v1::ignores () |
| 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::ignored > | so_5::experimental::testing::v1::ignores (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 | so_5::experimental::testing::v1::not_before (std::chrono::steady_clock::duration pause) |
| Create a constraint not-before. | |
| details::constraint_unique_ptr_t | so_5::experimental::testing::v1::not_after (std::chrono::steady_clock::duration pause) |
| Create a constraint not-after. | |
| template<incident_status_t Status> | |
| trigger_holder_t< Status > | so_5::experimental::testing::v1::details::operator& (const so_5::agent_t &agent, const trigger_source_t< Status > &src) |
| A helper operator to create a trigger for the specified agent. | |
| trigger_holder_t< incident_status_t::handled > | so_5::experimental::testing::v1::details::operator& (trigger_holder_t< incident_status_t::handled > &&old_holder, store_agent_state_name_t data_to_store) |
| A helper operator to create a tigger that stores the name of the current agent's state. | |
| template<incident_status_t Status> | |
| trigger_holder_t< Status > | so_5::experimental::testing::v1::details::operator& (trigger_holder_t< Status > &&old_holder, store_msg_inspection_result_t inspection_info) |
| A helper operator to create a tigger that inspects the incoming message and stores the result into the scenario. | |
| trigger_holder_t< incident_status_t::handled > | so_5::experimental::testing::v1::details::operator& (trigger_holder_t< incident_status_t::handled > &&old_holder, wait_event_handler_completion_t) |
| A helper operator to create a tigger that requires the completion of an event handler. | |
| template<typename Msg > | |
| trigger_holder_t< incident_status_t::handled > | so_5::experimental::testing::v1::details::operator& (const mbox_t &from, receives_indicator_t< Msg >) |
| A helper operator to create a tigger that receives a message/signal from specified mbox. | |
| template<typename Msg > | |
| details::receives_indicator_t< Msg > | so_5::experimental::testing::v1::receives () |
| Helper function to be used for a trigger that receives a message/singal from a mbox. | |