private static final class TestHFileBlockHeaderCorruption.IsThrowableMatching extends org.hamcrest.TypeSafeMatcher<Throwable>
Throwable
.
Assertion failures include the full stacktrace in their description.Modifier and Type | Field and Description |
---|---|
private List<org.hamcrest.Matcher<? super Throwable>> |
requirements |
Modifier | Constructor and Description |
---|---|
private |
IsThrowableMatching() |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(Throwable item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(Throwable throwable) |
TestHFileBlockHeaderCorruption.IsThrowableMatching |
withInstanceOf(Class<?> type) |
TestHFileBlockHeaderCorruption.IsThrowableMatching |
withMessage(org.hamcrest.Matcher<String> matcher) |
private final List<org.hamcrest.Matcher<? super Throwable>> requirements
private IsThrowableMatching()
public TestHFileBlockHeaderCorruption.IsThrowableMatching withInstanceOf(Class<?> type)
public TestHFileBlockHeaderCorruption.IsThrowableMatching withMessage(org.hamcrest.Matcher<String> matcher)
protected boolean matchesSafely(Throwable throwable)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<Throwable>
protected void describeMismatchSafely(Throwable item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<Throwable>
public void describeTo(org.hamcrest.Description description)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.