| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | describeMismatchSafely(String item, Description mismatchDescription)
Overrides org. |
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| public static Matcher | equalToCompressingWhiteSpace(String
the expected value of matched strings expectedString)Creates a matcher of |
| public static Matcher | equalToIgnoringWhiteSpace(String
the expected value of matched strings expectedString)
Deprecated
equalToCompressingWhiteSpace(String)
|
| public boolean | matchesSafely(String item)
Implements abstract org. |
| public String |
| string | back to summary |
|---|---|
| private final String string | |
| IsEqualCompressingWhiteSpace | back to summary |
|---|---|
| public IsEqualCompressingWhiteSpace(String string) | |
| describeMismatchSafely | back to summary |
|---|---|
| public void describeMismatchSafely(String item, Description mismatchDescription) Overrides org. Doc from org. Subclasses should override this. The item will already have been checked for the specific type and will never be null.
| |
| describeTo | back to summary |
|---|---|
| public void describeTo(Description description) Implements org. Doc from org. Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.
| |
| equalToCompressingWhiteSpace | back to summary |
|---|---|
| public static Matcher Creates a matcher of
assertThat(" my\tfoo bar ", equalToCompressingWhiteSpace(" my foo bar"))
| |
| equalToIgnoringWhiteSpace | back to summary |
|---|---|
| public static Matcher Deprecated
| |
| matchesSafely | back to summary |
|---|---|
| public boolean matchesSafely(String item) Implements abstract org. Doc from org. Subclasses should implement this. The item will already have been checked for the specific type and will never be null.
| |
| stripSpaces | back to summary |
|---|---|
| public String stripSpaces(String toBeStripped) | |