Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldBeEqualIgnoringWhitespace

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies that two CharSequences are equal, ignoring whitespace differences, failed.
Author
Alexander Bischof

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeEqualIgnoringWhitespace
(CharSequence
the actual value in the failed assertion.
actual
,
CharSequence
the expected value in the failed assertion.
expected
)

Creates a new org.assertj.core.error.ShouldBeEqualIgnoringWhitespace.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldBeEqualIgnoringWhitespaceback to summary
private ShouldBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected)

Method Detail

shouldBeEqualIgnoringWhitespaceback to summary
public static ErrorMessageFactory shouldBeEqualIgnoringWhitespace(CharSequence actual, CharSequence expected)

Creates a new org.assertj.core.error.ShouldBeEqualIgnoringWhitespace.

Parameters
actual:CharSequence

the actual value in the failed assertion.

expected:CharSequence

the expected value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.