|
|
const Data & | data_ |
| |
ptr_lib::shared_ptr
< DataValidationState > | state_ |
| |
|
bool | calledSuccess_ |
| |
|
bool | calledFailure_ |
| |
|
bool | calledContinue_ |
| |
| TestValidationResult::TestValidationResult |
( |
const Data & |
data | ) |
|
|
inline |
Create a TestValidationResult whose state_ will reference the given Data.
- Parameters
-
| data | The Data packed for the state_, which must remain valid. |
Call reset() then call validator.checkPolicy to set this object's results.
When finished, you can check calledSuccess_, etc.
- Parameters
-
| validator | The ValidatorConfig for calling checkPolicy. |
The documentation for this class was generated from the following file:
- tests/unit-tests/test-validation-policy-config.cpp