Class EqualsFailure

Inheritance Relationships

Base Type

Class Documentation

class EqualsFailure : public mu::tiny::test::Failure
[source]

Failure for CHECK_EQUAL when two values compare unequal.

Public Functions

EqualsFailure(Shell *test, const char *file_name, int_least32_t line_number, const char *expected, const char *actual, const String &text)
Parameters:
  • test – The failing test.

  • file_name – Source file of the assertion.

  • line_number – Line of the assertion.

  • expected – Expected value (C string).

  • actual – Actual value (C string).

  • text – Optional user text from the _TEXT variant.

EqualsFailure(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 value (String).

  • actual – Actual value (String).

  • text – Optional user text from the _TEXT variant.