Class ContainsFailure¶
Defined in File Failure.hpp
Inheritance Relationships¶
Base Type¶
public mu::tiny::test::Failure(Class Failure)
Class Documentation¶
-
class ContainsFailure : public mu::tiny::test::Failure¶
[source] Failure for STRCMP_CONTAINS when a string does not contain the expected substring.
Public Functions
-
ContainsFailure(Shell *test, const char *file_name, int_least32_t line_number, const String &expected, const String &actual, const String &text)¶
- Parameters:
test – The failing test.
file_name – Source file of the assertion.
line_number – Line of the assertion.
expected – Expected substring.
actual – Actual string that was searched.
text – Optional user text.
-
ContainsFailure(Shell *test, const char *file_name, int_least32_t line_number, const String &expected, const String &actual, const String &text)¶