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

A test results provides results from the run of a test. More...

#include <test_results.h>

Inherits node.

Public Member Functions

utf8_string const & get_const_log_messages () const
 [auto-generated] log_messages property access. More...
 
i32_array const & get_const_log_priority_counts () const
 [auto-generated] log_priority_counts property access. More...
 
cppgraph::property_handle_t< utf8_string const > get_handle_to_const_log_messages () const
 [auto-generated] log_messages property handle access. More...
 
cppgraph::property_handle_t< i32_array const > get_handle_to_const_log_priority_counts () const
 [auto-generated] log_priority_counts property handle access. More...
 
cppgraph::node_handle_t< cppgraph ::nodeget_test_graph_node_child () const
 [auto-generated] cppgraph :: node child node with link name test_graph access. More...
 
cppgraph::node_handle_t< cppgraph ::nodeset_test_graph_node_child (cppgraph::node_handle_t< cppgraph ::node > const &h_node)
 [auto-generated] Replaces the child node with link name test_graph and type of, or derived from, cppgraph :: node . More...
 

Static Public Attributes

static const cppgraph::link_name_t log_messages_link_name { "log_messages" }
 [auto-generated] Returns the link_name_t of property log_messages . More...
 
static const cppgraph::link_name_t log_priority_counts_link_name { "log_priority_counts" }
 [auto-generated] Returns the link_name_t of property log_priority_counts . More...
 
static const cppgraph::link_name_t test_graph_link_name { "test_graph" }
 [auto-generated] Returns the link_name_t of property test_graph . More...
 

Protected Member Functions

 test_results (node_handle const &h_graph)
 Construction. More...
 
cppgraph::property_handle_t< utf8_stringget_handle_to_log_messages () const
 [auto-generated] log_messages property handle access. More...
 
cppgraph::property_handle_t< i32_arrayget_handle_to_log_priority_counts () const
 [auto-generated] log_priority_counts property handle access. More...
 
utf8_stringget_log_messages () const
 [auto-generated] log_messages property access. More...
 
i32_arrayget_log_priority_counts () const
 [auto-generated] log_priority_counts property access. More...
 
void set_handle_to_log_messages (cppgraph::property_handle_t< utf8_string const > const &h_property) const
 [auto-generated] Attaches the guaranteed property log_messages to this node and assigns it a specified value. More...
 
void set_handle_to_log_priority_counts (cppgraph::property_handle_t< i32_array const > const &h_property) const
 [auto-generated] Attaches the guaranteed property log_priority_counts to this node and assigns it a specified value. More...
 
void set_log_messages (utf8_string const &property) const
 [auto-generated] Assigns a specified value to this node's log_messages property. More...
 
void set_log_priority_counts (i32_array const &property) const
 [auto-generated] Assigns a specified value to this node's log_priority_counts property. More...
 

Detailed Description

A test results provides results from the run of a test.

Guaranteed Properties

Guaranteed Nodes

Object Diagram

dot_inline_dotgraph_386.png

Constructor & Destructor Documentation

◆ test_results()

cppgraph::test_results::test_results ( node_handle const &  h_graph)
protected

Construction.

Parameters
h_graphNode to set as this node's test graph child node.

Member Function Documentation

◆ get_const_log_messages()

utf8_string const& cppgraph::test_results::get_const_log_messages ( ) const
inline

[auto-generated] log_messages property access.

Returns
The value of this node's log_messages property.

◆ get_const_log_priority_counts()

i32_array const& cppgraph::test_results::get_const_log_priority_counts ( ) const
inline

[auto-generated] log_priority_counts property access.

Returns
The value of this node's log_priority_counts property.

◆ get_handle_to_const_log_messages()

cppgraph::property_handle_t< utf8_string const > cppgraph::test_results::get_handle_to_const_log_messages ( ) const
inline

[auto-generated] log_messages property handle access.

Returns
A handle to this node's log_messages property.

◆ get_handle_to_const_log_priority_counts()

cppgraph::property_handle_t< i32_array const > cppgraph::test_results::get_handle_to_const_log_priority_counts ( ) const
inline

[auto-generated] log_priority_counts property handle access.

Returns
A handle to this node's log_priority_counts property.

◆ get_handle_to_log_messages()

cppgraph::property_handle_t< utf8_string > cppgraph::test_results::get_handle_to_log_messages ( ) const
inlineprotected

[auto-generated] log_messages property handle access.

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

◆ get_handle_to_log_priority_counts()

cppgraph::property_handle_t< i32_array > cppgraph::test_results::get_handle_to_log_priority_counts ( ) const
inlineprotected

[auto-generated] log_priority_counts property handle access.

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

◆ get_log_messages()

utf8_string& cppgraph::test_results::get_log_messages ( ) const
inlineprotected

[auto-generated] log_messages property access.

Returns
The value of this node's log_messages property.

◆ get_log_priority_counts()

i32_array& cppgraph::test_results::get_log_priority_counts ( ) const
inlineprotected

[auto-generated] log_priority_counts property access.

Returns
The value of this node's log_priority_counts property.

◆ get_test_graph_node_child()

cppgraph::node_handle_t< cppgraph :: node > cppgraph::test_results::get_test_graph_node_child ( ) const
inline

[auto-generated] cppgraph :: node child node with link name test_graph access.

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

◆ set_handle_to_log_messages()

void cppgraph::test_results::set_handle_to_log_messages ( cppgraph::property_handle_t< utf8_string const > const &  h_property) const
inlineprotected

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

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

◆ set_handle_to_log_priority_counts()

void cppgraph::test_results::set_handle_to_log_priority_counts ( cppgraph::property_handle_t< i32_array const > const &  h_property) const
inlineprotected

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

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

◆ set_log_messages()

void cppgraph::test_results::set_log_messages ( utf8_string const &  property) const
inlineprotected

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

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

◆ set_log_priority_counts()

void cppgraph::test_results::set_log_priority_counts ( i32_array const &  property) const
inlineprotected

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

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

◆ set_test_graph_node_child()

cppgraph::node_handle_t< cppgraph :: node > cppgraph::test_results::set_test_graph_node_child ( cppgraph::node_handle_t< cppgraph ::node > const &  h_node)
inline

[auto-generated] Replaces the child node with link name test_graph and type of, or derived from, cppgraph :: node .

Parameters
h_nodeHandle 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 with link name test_graph and type of or derived from cppgraph :: node .
exceptionThere is more than 1 existing node with link name test_graph and type of or derived from cppgraph :: node .
exceptionh_node is nullptr.

Member Data Documentation

◆ log_messages_link_name

const cppgraph::link_name_t cppgraph::test_results::log_messages_link_name { "log_messages" }
inlinestatic

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

Returns
The link_name_t of property log_messages .

◆ log_priority_counts_link_name

const cppgraph::link_name_t cppgraph::test_results::log_priority_counts_link_name { "log_priority_counts" }
inlinestatic

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

Returns
The link_name_t of property log_priority_counts .

◆ test_graph_link_name

const cppgraph::link_name_t cppgraph::test_results::test_graph_link_name { "test_graph" }
inlinestatic

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

Returns
The link_name_t of property test_graph .

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