All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
TestValidatorInterestOnly Class Reference
Inheritance diagram for TestValidatorInterestOnly:

Public Member Functions

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)
 

Public Attributes

HierarchicalValidatorFixture fixture_
 

Member Function Documentation

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
dataThe Data to validate.
messageThe 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
interestThe Interest to validate.
messageThe 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
dataThe Data to validate.
messageThe 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
interestThe Interest to validate.
messageThe message to show if the test fails.

The documentation for this class was generated from the following file: