A test_runner runs a test.
More...
#include <test_runner.h>
Inherits node.
A test_runner runs a test.
Broadcast Messages
Object Diagram
Class Diagram
◆ test_runner()
Construction.
Runs the specified test.
- Parameters
-
| h_test | Node to set as this node's test child node. |
◆ get_test_child()
[auto-generated] cppgraph :: test child node access.
- Returns
- The
cppgraph :: test child node. It is guaranteed not to be nullptr.
- Exceptions
-
| exception | There is no cppgraph :: test child node. |
| exception | There is more than one cppgraph :: test child node. |
◆ get_test_thread_child()
[auto-generated] cppgraph :: test_thread child node access.
- Returns
- The
cppgraph :: test_thread child node. It is guaranteed not to be nullptr.
- Exceptions
-
| exception | There is no cppgraph :: test_thread child node. |
| exception | There is more than one cppgraph :: test_thread child node. |
◆ on_test_results()
[auto-generated] Handler for messages of type cppgraph :: test_results .
- Parameters
-
| h_message | Message to handle. |
◆ set_test_child()
[auto-generated] Replaces the child node whose class is or derived from, cppgraph :: test .
- Parameters
-
| h_test | Handle 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
-
| exception | There is no existing node whose type is of or derived from cppgraph :: test . |
| exception | There is more than 1 existing node whose type is of or derived from cppgraph :: test . |
| exception | h_test is nullptr. |
◆ set_test_thread_child()
[auto-generated] Replaces the child node whose class is or derived from, cppgraph :: test_thread .
- Parameters
-
| h_test_thread | Handle 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
-
| exception | There is no existing node whose type is of or derived from cppgraph :: test_thread . |
| exception | There is more than 1 existing node whose type is of or derived from cppgraph :: test_thread . |
| exception | h_test_thread is nullptr. |
The documentation for this struct was generated from the following files:
- c:/cppgraph/lib/cppgraph/test/test_runner.h
- c:/cppgraph/lib/cppgraph/test/test_runner.cpp