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

A running test suites state runs a test suites. More...

#include <test_suites_runner.h>

Inherits state.

Protected Member Functions

index_t const & get_const_suite_index () const
 [auto-generated] suite_index property access. More...
 
cppgraph::property_handle_t< index_t const > get_handle_to_const_suite_index () const
 [auto-generated] suite_index property handle access. More...
 
cppgraph::property_handle_t< index_tget_handle_to_suite_index () const
 [auto-generated] suite_index property handle access. More...
 
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...
 
index_tget_suite_index () const
 [auto-generated] suite_index property access. More...
 
cppgraph::node_handle_t< cppgraph ::test_suite_runnerget_test_suite_runner_child () const
 [auto-generated] cppgraph :: test_suite_runner child node access. More...
 
cppgraph::node_handle_t< cppgraph ::test_suitesget_test_suites_child () const
 [auto-generated] cppgraph :: test_suites 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...
 
void set_handle_to_suite_index (cppgraph::property_handle_t< index_t const > const &h_property) const
 [auto-generated] Attaches the guaranteed property suite_index to this node and assigns it a specified value. 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...
 
void set_suite_index (index_t const &property) const
 [auto-generated] Assigns a specified value to this node's suite_index property. More...
 
cppgraph::node_handle_t< cppgraph ::test_suite_runnerset_test_suite_runner_child (cppgraph::node_handle_t< cppgraph ::test_suite_runner > const &h_test_suite_runner)
 [auto-generated] Replaces the child node whose class is or derived from, cppgraph :: test_suite_runner . More...
 
cppgraph::node_handle_t< cppgraph ::test_suitesset_test_suites_child (cppgraph::node_handle_t< cppgraph ::test_suites > const &h_test_suites)
 [auto-generated] Replaces the child node whose class is or derived from, cppgraph :: test_suites . More...
 

Static Protected Attributes

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

Detailed Description

A running test suites state runs a test suites.

Object Diagram

dot_inline_dotgraph_354.png

Member Function Documentation

◆ get_const_suite_index()

index_t const& cppgraph::running_test_suite_state::get_const_suite_index ( ) const
inlineprotected

[auto-generated] suite_index property access.

Returns
The value of this node's suite_index property.

◆ get_handle_to_const_suite_index()

cppgraph::property_handle_t< index_t const > cppgraph::running_test_suite_state::get_handle_to_const_suite_index ( ) const
inlineprotected

[auto-generated] suite_index property handle access.

Returns
A handle to this node's suite_index property.

◆ get_handle_to_suite_index()

cppgraph::property_handle_t< index_t > cppgraph::running_test_suite_state::get_handle_to_suite_index ( ) const
inlineprotected

[auto-generated] suite_index property handle access.

Returns
A handle to this node's suite_index property.
Exceptions
exceptionThere is more than 1 matching property.
exceptionThere is no matching property.`

◆ 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::running_test_suite_state::get_message_handler_filter_t_state_machine_completed_message_child ( ) const
inlineprotected

[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.

◆ get_suite_index()

index_t& cppgraph::running_test_suite_state::get_suite_index ( ) const
inlineprotected

[auto-generated] suite_index property access.

Returns
The value of this node's suite_index property.

◆ get_test_suite_runner_child()

cppgraph::node_handle_t< cppgraph :: test_suite_runner > cppgraph::running_test_suite_state::get_test_suite_runner_child ( ) const
inlineprotected

[auto-generated] cppgraph :: test_suite_runner child node access.

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

◆ get_test_suites_child()

cppgraph::node_handle_t< cppgraph :: test_suites > cppgraph::running_test_suite_state::get_test_suites_child ( ) const
inlineprotected

[auto-generated] cppgraph :: test_suites child node access.

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

◆ on_state_machine_completed_message()

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

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

Parameters
h_messageMessage to handle.

◆ set_handle_to_suite_index()

void cppgraph::running_test_suite_state::set_handle_to_suite_index ( cppgraph::property_handle_t< index_t const > const &  h_property) const
inlineprotected

[auto-generated] Attaches the guaranteed property suite_index to this node and assigns it a specified value.

Parameters
h_propertyValue to assign to this node's suite_index property.

◆ 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::running_test_suite_state::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)
inlineprotected

[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.

◆ set_suite_index()

void cppgraph::running_test_suite_state::set_suite_index ( index_t const &  property) const
inlineprotected

[auto-generated] Assigns a specified value to this node's suite_index property.

Parameters
propertyValue to assign to this node's suite_index property.

◆ set_test_suite_runner_child()

cppgraph::node_handle_t< cppgraph :: test_suite_runner > cppgraph::running_test_suite_state::set_test_suite_runner_child ( cppgraph::node_handle_t< cppgraph ::test_suite_runner > const &  h_test_suite_runner)
inlineprotected

[auto-generated] Replaces the child node whose class is or derived from, cppgraph :: test_suite_runner .

Parameters
h_test_suite_runnerHandle 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 :: test_suite_runner .
exceptionThere is more than 1 existing node whose type is of or derived from cppgraph :: test_suite_runner .
exceptionh_test_suite_runner is nullptr.

◆ set_test_suites_child()

cppgraph::node_handle_t< cppgraph :: test_suites > cppgraph::running_test_suite_state::set_test_suites_child ( cppgraph::node_handle_t< cppgraph ::test_suites > const &  h_test_suites)
inlineprotected

[auto-generated] Replaces the child node whose class is or derived from, cppgraph :: test_suites .

Parameters
h_test_suitesHandle 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 :: test_suites .
exceptionThere is more than 1 existing node whose type is of or derived from cppgraph :: test_suites .
exceptionh_test_suites is nullptr.

Member Data Documentation

◆ suite_index_link_name

const cppgraph::link_name_t cppgraph::running_test_suite_state::suite_index_link_name { "suite_index" }
inlinestaticprotected

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

Returns
The link_name_t of property suite_index .

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