|
| void | validateExpectSuccess (const Data &data, const std::string &message) |
| | Call fixture_.validator_.validate and if it calls the failureCallback then fail the test with the given message. More...
|
| |
| void | validateExpectSuccess (const Interest &interest, const std::string &message) |
| | Call fixture_.validator_.validate and if it calls the failureCallback then fail the test with the given message. More...
|
| |
| void | validateExpectFailure (const Data &data, const std::string &message) |
| | Call fixture_.validator_.validate and if it calls the successCallback then fail the test with the given message. More...
|
| |
| void | validateExpectFailure (const Interest &interest, const std::string &message) |
| | Call fixture_.validator_.validate and if it calls the successCallback then fail the test with the given message. More...
|
| |
|
void | dataShouldSucceed (const Data &data) |
| |
|
void | dataShouldNotSucceed (const Data &data, const std::string &message) |
| |
|
void | dataShouldFail (const Data &data, const ValidationError &error) |
| |
|
void | dataShouldNotFail (const Data &data, const ValidationError &error, const std::string &message) |
| |
|
void | interestShouldSucceed (const Interest &interest) |
| |
|
void | interestShouldNotSucceed (const Interest &interest, const std::string &message) |
| |
|
void | interestShouldFail (const Interest &interest, const ValidationError &error) |
| |
|
void | interestShouldNotFail (const Interest &interest, const ValidationError &error, const std::string &message) |
| |
| void TestValidatorInterestOnly::validateExpectFailure |
( |
const Data & |
data, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
Call fixture_.validator_.validate and if it calls the successCallback then fail the test with the given message.
- Parameters
-
| data | The Data to validate. |
| message | The message to show if the test succeeds. |
| void TestValidatorInterestOnly::validateExpectFailure |
( |
const Interest & |
interest, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
Call fixture_.validator_.validate and if it calls the successCallback then fail the test with the given message.
- Parameters
-
| interest | The Interest to validate. |
| message | The message to show if the test succeeds. |
| void TestValidatorInterestOnly::validateExpectSuccess |
( |
const Data & |
data, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
Call fixture_.validator_.validate and if it calls the failureCallback then fail the test with the given message.
- Parameters
-
| data | The Data to validate. |
| message | The message to show if the test fails. |
| void TestValidatorInterestOnly::validateExpectSuccess |
( |
const Interest & |
interest, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
Call fixture_.validator_.validate and if it calls the failureCallback then fail the test with the given message.
- Parameters
-
| interest | The Interest to validate. |
| message | The message to show if the test fails. |
The documentation for this class was generated from the following file:
- tests/unit-tests/test-validator.cpp