Check evaluation result. More...
#include <mna_verification.h>
Public Member Functions | |
| QJsonObject | toJson () const |
| QCborMap | toCbor () const |
Static Public Member Functions | |
| static MnaVerificationResult | fromJson (const QJsonObject &json) |
| static MnaVerificationResult | fromCbor (const QCborMap &cbor) |
Public Attributes | |
| QString | checkId |
| References MnaVerificationCheck::id. | |
| bool | passed = false |
| true if the expression evaluated to true | |
| QString | severity |
| Echoed from the check definition. | |
| QString | message |
| Formatted message: "PASS: ..." or "FAIL [error]: ...". | |
| QVariant | actualValue |
| The evaluated expression result. | |
| QDateTime | evaluatedAt |
| When this check was evaluated. | |
Check evaluation result.
The result of evaluating a single verification check.
Definition at line 98 of file mna_verification.h.
|
static |
Definition at line 175 of file mna_verification.cpp.
|
static |
Definition at line 145 of file mna_verification.cpp.
| QCborMap MnaVerificationResult::toCbor | ( | ) | const |
Definition at line 159 of file mna_verification.cpp.
| QJsonObject MnaVerificationResult::toJson | ( | ) | const |
Definition at line 129 of file mna_verification.cpp.
| QVariant MNALIB::MnaVerificationResult::actualValue |
The evaluated expression result.
Definition at line 104 of file mna_verification.h.
| QString MNALIB::MnaVerificationResult::checkId |
References MnaVerificationCheck::id.
Definition at line 100 of file mna_verification.h.
| QDateTime MNALIB::MnaVerificationResult::evaluatedAt |
When this check was evaluated.
Definition at line 105 of file mna_verification.h.
| QString MNALIB::MnaVerificationResult::message |
Formatted message: "PASS: ..." or "FAIL [error]: ...".
Definition at line 103 of file mna_verification.h.
| bool MNALIB::MnaVerificationResult::passed = false |
true if the expression evaluated to true
Definition at line 101 of file mna_verification.h.
| QString MNALIB::MnaVerificationResult::severity |
Echoed from the check definition.
Definition at line 102 of file mna_verification.h.