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

A test_runner runs a test. More...

#include <test_runner.h>

Inherits node.

Protected Member Functions

 test_runner (node_handle_t< test > const &h_test)
 Construction. More...
 
cppgraph::node_handle_t< cppgraph ::testget_test_child () const
 [auto-generated] cppgraph :: test child node access. More...
 
cppgraph::node_handle_t< cppgraph ::test_threadget_test_thread_child () const
 [auto-generated] cppgraph :: test_thread child node access. More...
 
void on_test_results (cppgraph::node_handle_t< cppgraph ::test_results > const &h_message)
 [auto-generated] Handler for messages of type cppgraph :: test_results . More...
 
cppgraph::node_handle_t< cppgraph ::testset_test_child (cppgraph::node_handle_t< cppgraph ::test > const &h_test)
 [auto-generated] Replaces the child node whose class is or derived from, cppgraph :: test . More...
 
cppgraph::node_handle_t< cppgraph ::test_threadset_test_thread_child (cppgraph::node_handle_t< cppgraph ::test_thread > const &h_test_thread)
 [auto-generated] Replaces the child node whose class is or derived from, cppgraph :: test_thread . More...
 

Detailed Description

A test_runner runs a test.

Broadcast Messages

Object Diagram

dot_inline_dotgraph_388.png

Class Diagram

test_runner.png

Constructor & Destructor Documentation

◆ test_runner()

cppgraph::test_runner::test_runner ( node_handle_t< test > const &  h_test)
protected

Construction.

Runs the specified test.

Parameters
h_testNode to set as this node's test child node.

Member Function Documentation

◆ get_test_child()

cppgraph::node_handle_t< cppgraph :: test > cppgraph::test_runner::get_test_child ( ) const
inlineprotected

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

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

◆ get_test_thread_child()

cppgraph::node_handle_t< cppgraph :: test_thread > cppgraph::test_runner::get_test_thread_child ( ) const
inlineprotected

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

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

◆ on_test_results()

void cppgraph::test_runner::on_test_results ( cppgraph::node_handle_t< cppgraph ::test_results > const &  h_message)
protected

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

Parameters
h_messageMessage to handle.

◆ set_test_child()

cppgraph::node_handle_t< cppgraph :: test > cppgraph::test_runner::set_test_child ( cppgraph::node_handle_t< cppgraph ::test > const &  h_test)
inlineprotected

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

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

◆ set_test_thread_child()

cppgraph::node_handle_t< cppgraph :: test_thread > cppgraph::test_runner::set_test_thread_child ( cppgraph::node_handle_t< cppgraph ::test_thread > const &  h_test_thread)
inlineprotected

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

Parameters
h_test_threadHandle 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_thread .
exceptionThere is more than 1 existing node whose type is of or derived from cppgraph :: test_thread .
exceptionh_test_thread is nullptr.

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