C D H I L M W

C

com.codereligion.cherry.test.hamcrest.logback - package com.codereligion.cherry.test.hamcrest.logback
Contains utilities to test Logback logging with Hamcrest.

D

describeExpectation(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasLevel
 
describeExpectation(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
 
describeExpectation(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasThrowable
 
describeExpectation(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
 
describeNegatedExpectation(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasLevel
 
describeNegatedExpectation(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
 
describeNegatedExpectation(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasThrowable
 
describeNegatedExpectation(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
 
describeTo(Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventIterableHasItem
 
doesNotHaveLevel(Level) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasLevel
Creates a new matcher for ILoggingEvents that only matches when the examined event does not have a log level equal to the given Level.
doesNotHaveMessage(String, Object...) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
Creates a new matcher for ILoggingEvents that only matches when the examined event does not have a formattedMessage which contains the given substring.
doesNotHaveMessage(Matcher<String>) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
Creates a new matcher for ILoggingEvents that only matches when the examined event does not have a formattedMessage which is matched by the given Matcher.
doesNotHaveThrowable(Throwable) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasThrowable
Creates a new matcher for ILoggingEvents that only matches when the examined event does not have a Throwable associated to it which matches the given one.

H

hasItem(Matcher<ILoggingEvent>) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventIterableHasItem
Creates a new matcher for iterables of ILoggingEvents that only matches when at least one event matches the given Matcher.
hasLevel(Level) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasLevel
Creates a new matcher for ILoggingEvents that only matches when the examined event has a log level equal to the given Level.
hasMessage(String, Object...) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
Creates a new matcher for ILoggingEvents that only matches when the examined event has a formattedMessage which contains the given substring.
hasMessage(Matcher<String>) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
Creates a new matcher for ILoggingEvents that only matches when the examined event has a formattedMessage which is matched by the given Matcher.
hasNoItem(Matcher<ILoggingEvent>) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventIterableHasItem
Creates a new matcher for iterables of ILoggingEvents that only matches when at no event matches the given Matcher.
hasThrowable(Throwable) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasThrowable
Creates a new matcher for ILoggingEvents that only matches when the examined event has a Throwable associated to it which matches the given one.

I

internalMatches(ILoggingEvent) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasLevel
 
internalMatches(ILoggingEvent) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
 
internalMatches(ILoggingEvent) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasThrowable
 
internalMatches(ILoggingEvent) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
 

L

loggedBy(String) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
Creates a new matcher for ILoggingEvents that only matches when the examined event was logged by a logger of which the name is equal to the given one.
loggedBy(Class<?>) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
Creates a new matcher for ILoggingEvents that only matches when the examined event was logged by a logger of which the name is equal to the name of the given class.
LoggingEventHasLevel - Class in com.codereligion.cherry.test.hamcrest.logback
A matcher which expects the ILoggingEvent to have a specific Level.
LoggingEventHasMessage - Class in com.codereligion.cherry.test.hamcrest.logback
A matcher which expects the ILoggingEvent to have a formatted message which matches the given Matcher.
LoggingEventHasThrowable - Class in com.codereligion.cherry.test.hamcrest.logback
A matcher which expects the ILoggingEvent to contain the specified Throwable.
LoggingEventIterableHasItem - Class in com.codereligion.cherry.test.hamcrest.logback
A matcher which expects at least one item of an iterable of ILoggingEvents to match the given Matcher.
LoggingEventLoggedBy - Class in com.codereligion.cherry.test.hamcrest.logback
A matcher which expects the ILoggingEvent to have a specific loggerName

M

matchesSafely(Iterable<ILoggingEvent>, Description) - Method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventIterableHasItem
 

W

wasLoggedBy(String) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
Creates a new matcher for ILoggingEvents that only matches when the examined event was logged by a logger of which the name is equal to the given one.
wasLoggedBy(Class<?>) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
Creates a new matcher for ILoggingEvents that only matches when the examined event was logged by a logger of which the name is equal to the name of the given class.
wasNotLoggedBy(String) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
Creates a new matcher for ILoggingEvents that only matches when the examined event was logged by a logger of which the name is not equal to the given one.
wasNotLoggedBy(Class<?>) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventLoggedBy
Creates a new matcher for ILoggingEvents that only matches when the examined event was logged by a logger of which the name is not equal to the name of the given class.
withLevel(Level) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasLevel
Creates a new matcher for ILoggingEvents that only matches when the examined event has a log level equal to the given Level.
withMessage(String, Object...) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
Creates a new matcher for ILoggingEvents that only matches when the examined event has a formattedMessage which is matched by the given Matcher.
withMessage(Matcher<String>) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasMessage
Creates a new matcher for ILoggingEvents that only matches when the examined event has a formattedMessage which contains the given substring.
withThrowable(Throwable) - Static method in class com.codereligion.cherry.test.hamcrest.logback.LoggingEventHasThrowable
Creates a new matcher for ILoggingEvents that only matches when the examined event has a Throwable associated to it which matches the given one.

C D H I L M W

Copyright © 2015. All rights reserved.