Class ExpectedLogMethodTestRule.LogOutputMatcher<T extends List<com.liferay.portal.test.log.LogEntry>>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
com.liferay.portal.search.test.rule.logging.ExpectedLogMethodTestRule.LogOutputMatcher<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<T>
,org.hamcrest.SelfDescribing
- Enclosing class:
- ExpectedLogMethodTestRule
protected static class ExpectedLogMethodTestRule.LogOutputMatcher<T extends List<com.liferay.portal.test.log.LogEntry>>
extends org.hamcrest.TypeSafeMatcher<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
describeMismatchSafely
(T logRecords, org.hamcrest.Description description) void
describeTo
(org.hamcrest.Description description) static <T extends List<com.liferay.portal.test.log.LogEntry>>
org.hamcrest.Matcher<T>hasMessage
(org.hamcrest.Matcher<String> matcher) protected boolean
matchesSafely
(T logEntries) protected String
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Field Details
-
matcher
-
-
Constructor Details
-
LogOutputMatcher
-
-
Method Details
-
hasMessage
-
describeTo
public void describeTo(org.hamcrest.Description description) -
describeMismatchSafely
-
matchesSafely
-
toString
-