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

A test_suite is an ordered collection of tests. More...

#include <test_suite.h>

Inherits node.

Public Member Functions

utf8_string const & get_const_name () const
 [auto-generated] name property access. More...
 
cppgraph::property_handle_t< utf8_string const > get_handle_to_const_name () const
 [auto-generated] name property handle access. More...
 
cppgraph::property_handle_t< utf8_stringget_handle_to_name () const
 [auto-generated] name property handle access. More...
 
utf8_stringget_name () const
 [auto-generated] name property access. More...
 
void set_handle_to_name (property_handle_t< utf8_string > const &h_property) const
 [auto-generated] Replaces the handle to this node's name property with a specified handle. More...
 
void set_name (utf8_string const &property) const
 [auto-generated] Assigns a specified value to this node's name property. More...
 

Static Public Attributes

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

Protected Member Functions

 test_suite (property_handle_t< utf8_string > const &h_name, test_handle_list const &tests)
 Construction. More...
 

Detailed Description

A test_suite is an ordered collection of tests.

Object Diagram

dot_inline_dotgraph_389.png

Class Diagram

test_suite.png

Constructor & Destructor Documentation

◆ test_suite()

cppgraph::test_suite::test_suite ( property_handle_t< utf8_string > const &  h_name,
test_handle_list const &  tests 
)
protected

Construction.

Parameters
h_nameValue to assign to this node's name property.
testsTests to attach as this node's test child nodes.

Member Function Documentation

◆ get_const_name()

utf8_string const& cppgraph::test_suite::get_const_name ( ) const
inline

[auto-generated] name property access.

Returns
A const reference to the value of this node's name property.

◆ get_handle_to_const_name()

cppgraph::property_handle_t< utf8_string const > cppgraph::test_suite::get_handle_to_const_name ( ) const
inline

[auto-generated] name property handle access.

Returns
A handle to this node's name property.

◆ get_handle_to_name()

cppgraph::property_handle_t< utf8_string > cppgraph::test_suite::get_handle_to_name ( ) const
inline

[auto-generated] name property handle access.

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

◆ get_name()

utf8_string& cppgraph::test_suite::get_name ( ) const
inline

[auto-generated] name property access.

Returns
A reference to the value of this node's name property.

◆ set_handle_to_name()

void cppgraph::test_suite::set_handle_to_name ( property_handle_t< utf8_string > const &  h_property) const
inline

[auto-generated] Replaces the handle to this node's name property with a specified handle.

Parameters
h_propertyHandle to assign as this node's name property handle.

◆ set_name()

void cppgraph::test_suite::set_name ( utf8_string const &  property) const
inline

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

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

Member Data Documentation

◆ name_link_name

const cppgraph::link_name_t cppgraph::test_suite::name_link_name { "name" }
inlinestatic

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

Returns
The link_name_t of property name .

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