CppGraph Application Framework©
Copyright © 2004-202x Geoff Goldberg
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
cppgraph::test_suites_runner Struct Reference

A test suites runner runs a collection of test suites. More...

#include <test_suites_runner.h>

Inherits state_machine.

Public Member Functions

cppgraph::node_handle_t< cppgraph ::message_handler_filter_t< cppgraph ::state_machine_completed_message > > get_message_handler_filter_t_state_machine_completed_message_child () const
 [auto-generated] cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message > child node access. More...
 
void on_state_machine_completed_message (cppgraph::node_handle_t< cppgraph ::state_machine_completed_message > const &h_message)
 [auto-generated] Handler for messages of type cppgraph :: state_machine_completed_message . More...
 
cppgraph::node_handle_t< cppgraph ::message_handler_filter_t< cppgraph ::state_machine_completed_message > > set_message_handler_filter_t_state_machine_completed_message_child (cppgraph::node_handle_t< cppgraph ::message_handler_filter_t< cppgraph ::state_machine_completed_message > > const &h_message_handler_filter_t)
 [auto-generated] Replaces the child node whose class is or derived from, cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message >. More...
 

Static Public Attributes

static const cppgraph::link_name_t running_test_suite_state_link_name { "running_test_suite_state" }
 [auto-generated] Returns the link_name_t of property running_test_suite_state . More...
 

Protected Member Functions

 test_suites_runner (node_handle_t< test_suites > const &h_test_suites)
 Construction. More...
 

Detailed Description

A test suites runner runs a collection of test suites.

Object Diagram

dot_inline_dotgraph_392.png

Class Diagram

test_suites_runner.png

Constructor & Destructor Documentation

◆ test_suites_runner()

cppgraph::test_suites_runner::test_suites_runner ( node_handle_t< test_suites > const &  h_test_suites)
protected

Construction.

Runs the provided test suites, in order. A test_suites_completed_message is broadcast when they have completed.

Parameters
h_test_suitesNode to set to this node's test suites started state child node.

Member Function Documentation

◆ get_message_handler_filter_t_state_machine_completed_message_child()

cppgraph::node_handle_t< cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message > > cppgraph::test_suites_runner::get_message_handler_filter_t_state_machine_completed_message_child ( ) const
inline

[auto-generated] cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message > child node access.

Returns
The cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message > child node. It is guaranteed not to be nullptr.
Exceptions
exceptionThere is no cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message > child node.
exceptionThere is more than one cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message > child node.

◆ on_state_machine_completed_message()

void cppgraph::test_suites_runner::on_state_machine_completed_message ( cppgraph::node_handle_t< cppgraph ::state_machine_completed_message > const &  h_message)

[auto-generated] Handler for messages of type cppgraph :: state_machine_completed_message .

Parameters
h_messageMessage to handle.

◆ set_message_handler_filter_t_state_machine_completed_message_child()

cppgraph::node_handle_t< cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message > > cppgraph::test_suites_runner::set_message_handler_filter_t_state_machine_completed_message_child ( cppgraph::node_handle_t< cppgraph ::message_handler_filter_t< cppgraph ::state_machine_completed_message > > const &  h_message_handler_filter_t)
inline

[auto-generated] Replaces the child node whose class is or derived from, cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message >.

Parameters
h_message_handler_filter_tHandle to a node to replace the existing node.
Returns
A handle to the node that was replaced. It is guaranteed not to be nullptr.
Exceptions
exceptionThere is no existing node whose type is of or derived from cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message >.
exceptionThere is more than 1 existing node whose type is of or derived from cppgraph :: message_handler_filter_t < cppgraph :: state_machine_completed_message >.
exceptionh_message_handler_filter_t is nullptr.

Member Data Documentation

◆ running_test_suite_state_link_name

const cppgraph::link_name_t cppgraph::test_suites_runner::running_test_suite_state_link_name { "running_test_suite_state" }
inlinestatic

[auto-generated] Returns the link_name_t of property running_test_suite_state .

Returns
The link_name_t of property running_test_suite_state .

The documentation for this struct was generated from the following files: