Struct zmbt::mapping::TestDiagnostics¶
ClassList > zmbt > mapping > TestDiagnostics
Test diagnostics for test case execution.
#include <test_diagnostics.hpp>
Public Types¶
| Type | Name |
|---|---|
| enum | Result |
Public Attributes¶
| Type | Name |
|---|---|
| boost::json::value | channel_id = {} |
| boost::json::string | comment = {} |
| boost::json::string | description = {} |
| boost::json::value | error = {} |
| boost::json::array | eval_stack = {} |
| boost::json::value | expected = {} |
| boost::json::string | message = {} |
| boost::json::string | model_name |
| boost::json::value | observed = {} |
| boost::json::value | pipe_id = {} |
| Result | result = {} |
| bool | tabular_condition_failure_ = {} |
| size_t | tc = {} |
| size_t | tr = {} |
| boost::json::value | vector = {} |
Public Functions¶
| Type | Name |
|---|---|
| TestDiagnostics & | ChannelId (boost::json::value const & id) |
| TestDiagnostics & | Comment (boost::json::string_view msg) |
| TestDiagnostics & | Description (boost::json::string_view msg) |
| TestDiagnostics & | Error (boost::json::string_view origin, boost::json::value const & err) report test setup or execution error |
| TestDiagnostics & | EvalStack (lang::EvalLog const & log) |
| TestDiagnostics & | Fail (lang::Expression const & expected, boost::json::value const & observed) report test expectation failure |
| TestDiagnostics & | PipeId (boost::json::value const & id) |
| TestDiagnostics & | TabularConditionFailure (std::size_t const col) |
| TestDiagnostics (boost::json::string_view model_name) |
|
| TestDiagnostics (TestDiagnostics const &) = default |
|
| TestDiagnostics (TestDiagnostics &&) = default |
|
| TestDiagnostics & | TestRow (std::size_t const r) |
| TestDiagnostics & | Vector (boost::json::value val) |
| TestDiagnostics & | operator= (TestDiagnostics const &) = default |
| TestDiagnostics & | operator= (TestDiagnostics &&) = default |
| boost::json::value | to_json () const |
| ~TestDiagnostics () = default |
Public Types Documentation¶
enum Result¶
Public Attributes Documentation¶
variable channel_id¶
variable comment¶
variable description¶
variable error¶
variable eval_stack¶
variable expected¶
variable message¶
variable model_name¶
variable observed¶
variable pipe_id¶
variable result¶
variable tabular_condition_failure_¶
variable tc¶
variable tr¶
variable vector¶
Public Functions Documentation¶
function ChannelId¶
inline TestDiagnostics & zmbt::mapping::TestDiagnostics::ChannelId (
boost::json::value const & id
)
function Comment¶
function Description¶
inline TestDiagnostics & zmbt::mapping::TestDiagnostics::Description (
boost::json::string_view msg
)
function Error¶
report test setup or execution error
TestDiagnostics & zmbt::mapping::TestDiagnostics::Error (
boost::json::string_view origin,
boost::json::value const & err
)
function EvalStack¶
function Fail¶
report test expectation failure
TestDiagnostics & zmbt::mapping::TestDiagnostics::Fail (
lang::Expression const & expected,
boost::json::value const & observed
)
function PipeId¶
function TabularConditionFailure¶
inline TestDiagnostics & zmbt::mapping::TestDiagnostics::TabularConditionFailure (
std::size_t const col
)
function TestDiagnostics [1/3]¶
function TestDiagnostics [2/3]¶
function TestDiagnostics [3/3]¶
function TestRow¶
function Vector¶
function operator=¶
function operator=¶
function to_json¶
function ~TestDiagnostics¶
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/mapping/test_diagnostics.hpp