Index

A C D E G H I L M O S U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

and(MessageMatcher) - Method in class org.faktorips.testsupport.matchers.MessageMatcher
Combines this MessageMatcher with another MessageMatcher creating a MessageMatcher that only matches if both original matchers match.
atMost(Duration) - Static method in class org.faktorips.testsupport.Wait
Creates a new Wait with the given Duration

C

contains(T...) - Static method in class org.faktorips.testsupport.ValueSetMatchers
Creates a Matcher that matches a ValueSet if it contains the given values.
containsErrorMessage() - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListMessageMatcher that matches a MessageList if it contains at least one Message with the Severity.ERROR.
containsMessages() - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a Matcher that matches a MessageList if it is not empty.
containsNoErrorMessage() - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListMessageMatcher that matches a MessageList if it contains no Message with the Severity.ERROR.
containsNull() - Static method in class org.faktorips.testsupport.ValueSetMatchers
Creates a Matcher that matches a ValueSet if it contains null.
containsText(String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a Matcher that matches if the Message's text contains the given text.

D

describeMessageProperty(Description) - Method in class org.faktorips.testsupport.matchers.MessageCodeMatcher
 
describeMessageProperty(Description) - Method in class org.faktorips.testsupport.matchers.MessageInvalidObjectMatcher
 
describeMessageProperty(Description) - Method in class org.faktorips.testsupport.matchers.MessageMarkerMatcher
 
describeMessageProperty(Description) - Method in class org.faktorips.testsupport.matchers.MessageMatcher
Adds the description of the property checked by this matcher to the given description.
describeMessageProperty(Description) - Method in class org.faktorips.testsupport.matchers.MessagePropertyMatcher
 
describeMessageProperty(Description) - Method in class org.faktorips.testsupport.matchers.MessageSeverityMatcher
 
describeMismatchedProperty(Message, Description) - Method in class org.faktorips.testsupport.matchers.MessageCodeMatcher
 
describeMismatchedProperty(Message, Description) - Method in class org.faktorips.testsupport.matchers.MessageInvalidObjectMatcher
 
describeMismatchedProperty(Message, Description) - Method in class org.faktorips.testsupport.matchers.MessageMarkerMatcher
 
describeMismatchedProperty(Message, Description) - Method in class org.faktorips.testsupport.matchers.MessageMatcher
Adds the description of the given message's actual value of the property checked by this matcher to the given description.
describeMismatchedProperty(Message, Description) - Method in class org.faktorips.testsupport.matchers.MessagePropertyMatcher
 
describeMismatchedProperty(Message, Description) - Method in class org.faktorips.testsupport.matchers.MessageSeverityMatcher
 
describeMismatchSafely(MessageList, Description) - Method in class org.faktorips.testsupport.matchers.MessageListMessageMatcher
 
describeMismatchSafely(Message, Description) - Method in class org.faktorips.testsupport.matchers.MessageMatcher
describeTo(Description) - Method in class org.faktorips.testsupport.matchers.EmptyMessageListMatcher
 
describeTo(Description) - Method in class org.faktorips.testsupport.matchers.MessageListCodeMatcher
 
describeTo(Description) - Method in class org.faktorips.testsupport.matchers.MessageListMessageMatcher
 
describeTo(Description) - Method in class org.faktorips.testsupport.matchers.MessageListObjectPropertyMatcher
 
describeTo(Description) - Method in class org.faktorips.testsupport.matchers.MessageListSizeMatcher
 
describeTo(Description) - Method in class org.faktorips.testsupport.matchers.MessageMarkerMatcher
 
describeTo(Description) - Method in class org.faktorips.testsupport.matchers.MessageMatcher

E

empty() - Static method in class org.faktorips.testsupport.ValueSetMatchers
Creates a Matcher that matches a ValueSet if it is empty.
EmptyMessageListMatcher - Class in org.faktorips.testsupport.matchers
Matches a MessageList if it is empty.
EmptyMessageListMatcher() - Constructor for class org.faktorips.testsupport.matchers.EmptyMessageListMatcher
 

G

get(Locale) - Method in class org.faktorips.testsupport.SingleInternationalString
Getting the value string which is independent from the specified locale.

H

hasErrorMessage(String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListMessageMatcher that matches a MessageList if it contains at least one Message with the given code and Severity.ERROR.
hasFeature(Function<T, U>, Matcher<U>, String, String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a FeatureMatcher that extracts a &lt;U&gt; feature from a &lt;T&gt; object and matches it with the given matcher.
hasInfoMessage(String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListMessageMatcher that matches a MessageList if it contains at least one Message with the given code and Severity.INFO.
hasInvalidObject(Object) - Static method in class org.faktorips.testsupport.IpsMatchers
 
hasInvalidObject(Object, String) - Static method in class org.faktorips.testsupport.IpsMatchers
 
hasMarker(IMarker) - Static method in class org.faktorips.testsupport.IpsMatchers
 
hasMessageCode(String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListMessageMatcher that matches a MessageList if it contains at least one Message with the given code.
hasMessageCodeThat(Matcher<String>) - Static method in class org.faktorips.testsupport.IpsMatchers
 
hasMessageFor(Object) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListObjectPropertyMatcher that matches a MessageList if it contains exactly one Message with an ObjectProperty for the given object.
hasMessageFor(Object, String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListObjectPropertyMatcher that matches a MessageList if it contains exactly one Message with an ObjectProperty for the given object's given property.
hasMessages(Matcher<Message>...) - Static method in class org.faktorips.testsupport.IpsMatchers
A Matcher that matches if, for every given Matcher, the checked MessageList contains a Message that is matched by that Matcher.
hasMessagesFor(int, Object, String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListObjectPropertyMatcher that matches a MessageList if it contains exactly count Messages with an ObjectProperty for the given object's given property.
hasMessageThat(MessageMatcher) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a Matcher that matches if any Message in the MessageList is matched by the given Matcher.
hasMessageWithSeverity(Severity) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListMessageMatcher that matches a MessageList if it contains at least one Message with the given Severity.
hasProperty(Function<Message, P>, Matcher<P>, String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageMatcher that extracts a &lt;P&gt; property from a Message and matches it with the given matcher.
hasSeverity(Severity) - Static method in class org.faktorips.testsupport.IpsMatchers
 
hasSize(int) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListSizeMatcher that matches a MessageList if it's size equal to the given size.
hasSize(Matcher<Integer>) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListSizeMatcher that matches a MessageList if it's size is matched by the given Matcher<Integer>.
hasWarningMessage(String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListMessageMatcher that matches a MessageList if it contains at least one Message with the given code and Severity.WARNING.

I

IpsMatchers - Class in org.faktorips.testsupport
Hamcrest Matchers for use in JUnit tests of Faktor-IPS (generated) code.
isEmpty() - Static method in class org.faktorips.testsupport.IpsMatchers
Creates an EmptyMessageListMatcher that matches a MessageList if it is empty.
isRange(T, T) - Static method in class org.faktorips.testsupport.ValueSetMatchers
Creates a Matcher that matches a ValueSet if it is a range with the given lower and upper bound.

L

lacksMessageCode(String) - Static method in class org.faktorips.testsupport.IpsMatchers
Creates a MessageListMessageMatcher that matches a MessageList if it contains no Message with the given code.

M

matchesSafely(Message) - Method in class org.faktorips.testsupport.matchers.MessageCodeMatcher
 
matchesSafely(Message) - Method in class org.faktorips.testsupport.matchers.MessageInvalidObjectMatcher
 
matchesSafely(Message) - Method in class org.faktorips.testsupport.matchers.MessageMarkerMatcher
 
matchesSafely(Message) - Method in class org.faktorips.testsupport.matchers.MessagePropertyMatcher
 
matchesSafely(Message) - Method in class org.faktorips.testsupport.matchers.MessageSeverityMatcher
 
matchesSafely(MessageList) - Method in class org.faktorips.testsupport.matchers.EmptyMessageListMatcher
 
matchesSafely(MessageList) - Method in class org.faktorips.testsupport.matchers.MessageListCodeMatcher
 
matchesSafely(MessageList) - Method in class org.faktorips.testsupport.matchers.MessageListMessageMatcher
 
matchesSafely(MessageList) - Method in class org.faktorips.testsupport.matchers.MessageListObjectPropertyMatcher
 
matchesSafely(MessageList) - Method in class org.faktorips.testsupport.matchers.MessageListSizeMatcher
 
MessageCodeMatcher - Class in org.faktorips.testsupport.matchers
Matches a Message if it's message code is the given messageCode.
MessageCodeMatcher(String) - Constructor for class org.faktorips.testsupport.matchers.MessageCodeMatcher
 
MessageCodeMatcher(String, boolean) - Constructor for class org.faktorips.testsupport.matchers.MessageCodeMatcher
 
MessageCodeMatcher(Matcher<String>) - Constructor for class org.faktorips.testsupport.matchers.MessageCodeMatcher
 
MessageCodeMatcher(Matcher<String>, boolean) - Constructor for class org.faktorips.testsupport.matchers.MessageCodeMatcher
 
MessageInvalidObjectMatcher - Class in org.faktorips.testsupport.matchers
Checks whether a Message contains the given invalid object.
MessageInvalidObjectMatcher(Object) - Constructor for class org.faktorips.testsupport.matchers.MessageInvalidObjectMatcher
 
MessageInvalidObjectMatcher(Object, String) - Constructor for class org.faktorips.testsupport.matchers.MessageInvalidObjectMatcher
 
MessageListCodeMatcher - Class in org.faktorips.testsupport.matchers
Checks whether a MessageList contains a Message with a certain message code.
MessageListCodeMatcher(String) - Constructor for class org.faktorips.testsupport.matchers.MessageListCodeMatcher
 
MessageListCodeMatcher(String, boolean) - Constructor for class org.faktorips.testsupport.matchers.MessageListCodeMatcher
 
MessageListMessageMatcher - Class in org.faktorips.testsupport.matchers
Matches a MessageList if one of it's Messages is matched by the given Matcher<Message>.
MessageListMessageMatcher(Matcher<Message>...) - Constructor for class org.faktorips.testsupport.matchers.MessageListMessageMatcher
 
MessageListObjectPropertyMatcher - Class in org.faktorips.testsupport.matchers
Matches a MessageList if it contains a given number of Messages with a given ObjectProperty.
MessageListObjectPropertyMatcher(ObjectProperty) - Constructor for class org.faktorips.testsupport.matchers.MessageListObjectPropertyMatcher
 
MessageListObjectPropertyMatcher(ObjectProperty, int) - Constructor for class org.faktorips.testsupport.matchers.MessageListObjectPropertyMatcher
 
MessageListSizeMatcher - Class in org.faktorips.testsupport.matchers
Matches a MessageList's size.
MessageListSizeMatcher(Matcher<Integer>) - Constructor for class org.faktorips.testsupport.matchers.MessageListSizeMatcher
 
MessageMarkerMatcher - Class in org.faktorips.testsupport.matchers
Matches a Message if it's markers contain the given marker.
MessageMarkerMatcher(IMarker) - Constructor for class org.faktorips.testsupport.matchers.MessageMarkerMatcher
 
MessageMatcher - Class in org.faktorips.testsupport.matchers
A typesafe Matcher for a Message.
MessageMatcher() - Constructor for class org.faktorips.testsupport.matchers.MessageMatcher
 
MessagePropertyMatcher<P> - Class in org.faktorips.testsupport.matchers
Creates a MessageMatcher that extracts a property of type <P> from a Message and matches it with a given matcher.
MessagePropertyMatcher(Function<Message, P>, Matcher<P>, String) - Constructor for class org.faktorips.testsupport.matchers.MessagePropertyMatcher
Creates a new MessageMatcher that extracts a property of type <P> from a Message and matches it with the given matcher.
MessageSeverityMatcher - Class in org.faktorips.testsupport.matchers
Matches a Message if it's severity is the given Severity.
MessageSeverityMatcher(Severity) - Constructor for class org.faktorips.testsupport.matchers.MessageSeverityMatcher
 

O

org.faktorips.testsupport - package org.faktorips.testsupport
Utility classes for testing Faktor-IPS (generated) code.
org.faktorips.testsupport.matchers - package org.faktorips.testsupport.matchers
Hamcrest Matchers for use in JUnit tests of Faktor-IPS (generated) code.

S

SingleInternationalString - Class in org.faktorips.testsupport
Implementation of InternationalString which uses the same text for all locales.
SingleInternationalString(String) - Constructor for class org.faktorips.testsupport.SingleInternationalString
Constructor.

U

until(BooleanSupplier, String) - Method in class org.faktorips.testsupport.Wait
Evaluates the given check repeatedly until the wait time has elapsed.

V

ValueSetMatchers - Class in org.faktorips.testsupport
Hamcrest Matchers for use in JUnit tests of Faktor-IPS value sets.

W

Wait - Class in org.faktorips.testsupport
Utility class to wait in increasing intervals up to a set maximum duration for some condition to be true.
A C D E G H I L M O S U V W 
All Classes and Interfaces|All Packages|Serialized Form