|
void | assertFail (const SourceCodeLocation &location, const std::string &failMessage) |
| Cause an assertion failure with a message. More...
|
|
void | assertFail (const std::string &failMessage) |
| Cause an assertion failure with a message. More...
|
|
template<typename A , typename E , typename C , typename V , typename F > |
void | assertThat (const SourceCodeLocation &location, const std::string &failMessage, const A &actual, const ExpectedValue< E, C, V, F > &expected) |
| Assert that the actual value supplied matches that in the matcher. More...
|
|
template<typename A , typename E , typename C , typename V , typename F > |
void | assertThat (const std::string &failMessage, const A &actual, const ExpectedValue< E, C, V, F > &expected) |
| Assert that the actual value supplied matches that in the matcher. More...
|
|
template<typename A , typename E , typename C , typename V , typename F > |
void | assertThat (const SourceCodeLocation &location, const A &actual, const ExpectedValue< E, C, V, F > &expected) |
| Assert that the actual value supplied matches that in the matcher. More...
|
|
template<typename A , typename E , typename C , typename V , typename F > |
void | assertThat (const A &actual, const ExpectedValue< E, C, V, F > &expected) |
| Assert that the actual value supplied matches that in the matcher. More...
|
|
template<typename A , typename T > |
void | assertThat (const SourceCodeLocation &location, const std::string &failMessage, const A &actual, const IsAExpectation< T > &) |
| Assert that the actual value's type is castable to the supplied one. More...
|
|
template<typename A , typename T > |
void | assertThat (const std::string &failMessage, const A &actual, const IsAExpectation< T > &) |
| Assert that the actual value's type is castable to the supplied one. More...
|
|
template<typename A , typename T > |
void | assertThat (const SourceCodeLocation &location, const A &actual, const IsAExpectation< T > &expected) |
| Assert that the actual value's type is castable to the supplied one. More...
|
|
template<typename A , typename T > |
void | assertThat (const A &actual, const IsAExpectation< T > &expected) |
| Assert that the actual value's type is castable to the supplied one. More...
|
|
template<typename F , typename E > |
void | assertThat (const SourceCodeLocation &location, const std::string &failMessage, F function, const ThrowExpectation< E > &e) |
| Assert that the supplied function throws the supplied exception example instance. More...
|
|
template<typename F , typename E > |
void | assertThat (const std::string &failMessage, F function, const ThrowExpectation< E > &e) |
| Assert that the supplied function throws the supplied exception example instance. More...
|
|
template<typename F , typename E , typename C > |
void | assertThat (const SourceCodeLocation &location, const std::string &failMessage, F function, const ThrowExpectationWithFunction< E, C > &e) |
| Assert that the supplied function throws the supplied exception example instance. More...
|
|
template<typename F , typename E > |
void | assertThat (const SourceCodeLocation &location, const std::string &failMessage, F function, const ThrowExpectationWithPredicate< E > &predicate) |
| Assert that the supplied function throws an exception, checked by the supplied predicate. More...
|
|
template<typename F , typename E , typename C > |
void | assertThat (const std::string &failMessage, F function, const ThrowExpectationWithFunction< E, C > &e) |
| Assert that the supplied function throws the supplied exception example instance. More...
|
|
template<typename F , typename E > |
void | assertThat (const std::string &failMessage, F function, const ThrowExpectationWithPredicate< E > &predicate) |
| Assert that the supplied function throws an exception, checked by the supplied predicate. More...
|
|
template<typename F , typename E > |
void | assertThat (const SourceCodeLocation &location, const std::string &failMessage, F function, const ThrowTypeExpectation< E > &) |
| Assert that the supplied function throws the supplied exception type. More...
|
|
template<typename F , typename E > |
void | assertThat (const std::string &failMessage, F function, const ThrowTypeExpectation< E > &) |
| Assert that the supplied function throws the supplied exception type. More...
|
|
template<typename F , typename E > |
void | assertThat (const SourceCodeLocation &location, F function, const ThrowExpectation< E > &expectedException) |
| Assert that the supplied function throws the supplied exception example instance. More...
|
|
template<typename F , typename E > |
void | assertThat (F function, const ThrowExpectation< E > &expectedException) |
| Assert that the supplied function throws the supplied exception example instance. More...
|
|
template<typename F , typename E , typename C > |
void | assertThat (const SourceCodeLocation &location, F function, const ThrowExpectationWithFunction< E, C > &expectedException) |
| Assert that the supplied function throws the supplied exception example instance. More...
|
|
template<typename F , typename E > |
void | assertThat (const SourceCodeLocation &location, F function, const ThrowExpectationWithPredicate< E > &predicate) |
| Assert that the supplied function throws an exception, checked by the supplied predicate. More...
|
|
template<typename F , typename E , typename C > |
void | assertThat (F function, const ThrowExpectationWithFunction< E, C > &expectedException) |
| Assert that the supplied function throws the supplied exception example instance. More...
|
|
template<typename F , typename E > |
void | assertThat (F function, const ThrowExpectationWithPredicate< E > &predicate) |
| Assert that the supplied function throws an exception, checked by the supplied predicate. More...
|
|
template<typename F , typename E > |
void | assertThat (const SourceCodeLocation &location, F function, const ThrowTypeExpectation< E > &expectedExceptionType) |
| Assert that the supplied function throws the supplied exception type. More...
|
|
template<typename F , typename E > |
void | assertThat (F function, const ThrowTypeExpectation< E > &expectedExceptionType) |
| Assert that the supplied function throws the supplied exception type. More...
|
|
template<typename A , typename E , typename C , typename V , typename F > |
void | assertThatNP (const SourceCodeLocation &location, const std::string &failMessage, const A &actual, const ExpectedValue< E, C, V, F > &expected) |
| Assertion without printing a failure rendering. More...
|
|
template<typename A , typename E , typename C , typename V , typename F > |
void | assertThatNP (const std::string &failMessage, const A &actual, const ExpectedValue< E, C, V, F > &expected) |
| Assertion without printing a failure rendering. More...
|
|
template<typename A , typename E , typename C , typename V , typename F > |
void | assertThatNP (const SourceCodeLocation &location, const A &actual, const ExpectedValue< E, C, V, F > &expected) |
| Assertion without printing a failure rendering. More...
|
|
template<typename A , typename E , typename C , typename V , typename F > |
void | assertThatNP (const A &actual, const ExpectedValue< E, C, V, F > &expected) |
| Assertion without printing a failure rendering. More...
|
|
template<typename A , typename T > |
void | assertThatNP (const SourceCodeLocation &location, const std::string &failMessage, const A &actual, const IsAExpectation< T > &) |
| Assertion without printing a failure rendering. More...
|
|
template<typename A , typename T > |
void | assertThatNP (const std::string &failMessage, const A &actual, const IsAExpectation< T > &) |
| Assertion without printing a failure rendering. More...
|
|
template<typename A , typename T > |
void | assertThatNP (const SourceCodeLocation &location, const A &actual, const IsAExpectation< T > &expected) |
| Assertion without printing a failure rendering. More...
|
|
template<typename A , typename T > |
void | assertThatNP (const A &actual, const IsAExpectation< T > &expected) |
| Assertion without printing a failure rendering. More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareContains, EvNotUsed, EvNotUsed > | contains (const E &expected) |
| Does the actual value contains the supplied expected value? More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareDoesNotContain, EvNotUsed, EvNotUsed > | doesNotContain (const E &expected) |
| Does the actual value not contain the supplied expected value? More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareEndsWith, EvNotUsed, EvNotUsed > | endsWith (const E &expected) |
| Does the actual value end with the supplied expected value? More...
|
|
void | fromString (ExecutionModel &model, const std::string &value) |
| Obtain the execution model from a string. More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareEquals, EvNotUsed, EvNotUsed > | is (const E &expected) |
| Is the actual value equal to the supplied expected value? More...
|
|
template<typename T > |
const IsAExpectation< T > | isA () |
| Is the type of the actual value castable to the specified type? More...
|
|
template<typename E , typename V > |
ExpectedValue< E, MatcherCompareAlmostEqual, V, EvNotUsed > | isAlmostEqual (const E &expected, const V &errorDelta) |
| Is the actual value equal to within the specified error limit to the supplied expected value? More...
|
|
bool | isExecutionModel (std::string_view value) |
| Returns true if the supplied string represents a valid execution model (the case is ignored). More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareGreaterThan, EvNotUsed, EvNotUsed > | isGreaterThan (const E &expected) |
| Is the actual value greater than the supplied expected value? More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareGreaterThanOrEqualTo, EvNotUsed, EvNotUsed > | isGreaterThanOrEqualTo (const E &expected) |
| Is the actual value greater than or equal to the supplied expected value? More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareLessThan, EvNotUsed, EvNotUsed > | isLessThan (const E &expected) |
| Is the actual value less than the supplied expected value? More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareLessThanOrEqualTo, EvNotUsed, EvNotUsed > | isLessThanOrEqualTo (const E &expected) |
| Is the actual value less than or equal to the supplied expected value? More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareNotEqual, EvNotUsed, EvNotUsed > | isNot (const E &expected) |
| Is the actual value not equal to the supplied expected value? More...
|
|
ExpectedValue< void *, MatcherCompareNotEqual, EvNotUsed, EvNotUsed > | isNotNull () |
| Is the actual value not equal to the supplied expected value? More...
|
|
template<typename E > |
ExpectedValue< E, MatcherCompareStartsWith, EvNotUsed, EvNotUsed > | startsWith (const E &expected) |
| Does the actual value start with the supplied expected value? More...
|
|
template<typename E > |
const ThrowTypeExpectation< E > | throws () |
| Does the code block throw the supplied expected exception type? More...
|
|
template<typename E > |
const ThrowExpectation< E > | throws (const E &expected) |
| Does the code block throw the supplied exception (including the exception's data)? More...
|
|
template<typename E > |
const ThrowExpectationWithPredicate< E > | throws (const std::function< bool(const E &)> &predicate) |
| Does the code block throw the supplied exception type? More...
|
|
template<typename E , typename C > |
const ThrowExpectationWithFunction< E, C > | throws (const E &expected, C comparisonFunction) |
| Does the code block throw the supplied exception (including the exception's data)? More...
|
|
template<typename AllocatorT > |
Balau::U8String< AllocatorT > | toString (ExecutionModel model) |
| Print the execution model value as a UTF-8 string. More...
|
|