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::array | channels = {} |
boost::json::string | comment = {} |
boost::json::value | decorator = {} |
boost::json::string | description = {} |
boost::json::array | eval_stack = {} |
boost::json::value | expected = {} |
Result | kind = {} |
boost::json::string | message = {} |
boost::json::string | model |
boost::json::value | nof_channel = {} |
boost::json::value | nof_vector = {} |
boost::json::value | observed = {} |
boost::json::value | trigger = {} |
boost::json::value | vector = {} |
Public Functions¶
Type | Name |
---|---|
TestDiagnostics & | ChannelIdx (int idx) |
TestDiagnostics & | Channels (boost::json::value const & cnls) |
TestDiagnostics & | Comment (boost::json::string_view msg) |
TestDiagnostics & | Description (boost::json::string_view msg) |
TestDiagnostics & | Error (boost::json::string_view origin, boost::json::string_view msg) report test setup or execution error |
TestDiagnostics & | EvalStack (Expression::EvalLog const & log) |
TestDiagnostics & | Fail (Expression expected, boost::json::value observed, SignalOperatorHandler op) report test expectation failure |
TestDiagnostics (boost::json::string_view model) |
|
TestDiagnostics (TestDiagnostics const &) = default |
|
TestDiagnostics (TestDiagnostics &&) = default |
|
TestDiagnostics & | Trigger (boost::json::value const & trig) |
TestDiagnostics & | Vector (boost::json::value val) |
TestDiagnostics & | VectorIdx (int idx) |
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 channels¶
variable comment¶
variable decorator¶
variable description¶
variable eval_stack¶
variable expected¶
variable kind¶
variable message¶
variable model¶
variable nof_channel¶
variable nof_vector¶
variable observed¶
variable trigger¶
variable vector¶
Public Functions Documentation¶
function ChannelIdx¶
function Channels¶
inline TestDiagnostics & zmbt::mapping::TestDiagnostics::Channels (
boost::json::value const & cnls
)
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::string_view msg
)
function EvalStack¶
inline TestDiagnostics & zmbt::mapping::TestDiagnostics::EvalStack (
Expression::EvalLog const & log
)
function Fail¶
report test expectation failure
TestDiagnostics & zmbt::mapping::TestDiagnostics::Fail (
Expression expected,
boost::json::value observed,
SignalOperatorHandler op
)
function TestDiagnostics [1/3]¶
function TestDiagnostics [2/3]¶
function TestDiagnostics [3/3]¶
function Trigger¶
inline TestDiagnostics & zmbt::mapping::TestDiagnostics::Trigger (
boost::json::value const & trig
)
function Vector¶
function VectorIdx¶
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