Index
All Classes and Interfaces|All Packages|Serialized Form
A
- and(MessageMatcher) - Method in class org.faktorips.testsupport.matchers.MessageMatcher
-
Combines this
MessageMatcherwith anotherMessageMatchercreating aMessageMatcherthat only matches if both original matchers match. - atMost(Duration) - Static method in class org.faktorips.testsupport.Wait
C
- contains(T...) - Static method in class org.faktorips.testsupport.ValueSetMatchers
-
Creates a
Matcherthat matches aValueSetif itcontainsthe given values. - containsErrorMessage() - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith theSeverity.ERROR. - containsMessages() - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
Matcherthat matches aMessageListif it is notempty. - containsNoErrorMessage() - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListMessageMatcherthat matches aMessageListif it contains noMessagewith theSeverity.ERROR. - containsNull() - Static method in class org.faktorips.testsupport.ValueSetMatchers
-
Creates a
Matcherthat matches aValueSetif itcontains null. - containsText(String) - Static method in class org.faktorips.testsupport.IpsMatchers
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
Matcherthat matches aValueSetif itis empty. - EmptyMessageListMatcher - Class in org.faktorips.testsupport.matchers
-
Matches a
MessageListif itis 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
MessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givencodeandSeverity.ERROR. - hasFeature(Function<T, U>, Matcher<U>, String, String) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
FeatureMatcherthat extracts a<U>feature from a<T>object and matches it with the given matcher. - hasInfoMessage(String) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givencodeandSeverity.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
MessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givencode. - hasMessageCodeThat(Matcher<String>) - Static method in class org.faktorips.testsupport.IpsMatchers
- hasMessageFor(Object) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListObjectPropertyMatcherthat matches aMessageListif it contains exactly oneMessagewith anObjectPropertyfor the given object. - hasMessageFor(Object, String) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListObjectPropertyMatcherthat matches aMessageListif it contains exactly oneMessagewith anObjectPropertyfor the given object's given property. - hasMessages(Matcher<Message>...) - Static method in class org.faktorips.testsupport.IpsMatchers
-
A
Matcherthat matches if, for every givenMatcher, the checkedMessageListcontains aMessagethat is matched by thatMatcher. - hasMessagesFor(int, Object, String) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListObjectPropertyMatcherthat matches aMessageListif it contains exactlycountMessageswith anObjectPropertyfor the given object's given property. - hasMessageThat(MessageMatcher) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
Matcherthat matches if anyMessagein theMessageListis matched by the givenMatcher. - hasMessageWithSeverity(Severity) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givenSeverity. - hasProperty(Function<Message, P>, Matcher<P>, String) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageMatcherthat extracts a<P>property from aMessageand 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
- hasSize(Matcher<Integer>) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListSizeMatcherthat matches aMessageListif it'ssizeis matched by the givenMatcher<Integer>. - hasWarningMessage(String) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListMessageMatcherthat matches aMessageListif it contains at least oneMessagewith the givencodeandSeverity.WARNING.
I
- IpsMatchers - Class in org.faktorips.testsupport
-
Hamcrest
Matchersfor use in JUnit tests of Faktor-IPS (generated) code. - isEmpty() - Static method in class org.faktorips.testsupport.IpsMatchers
- isRange(T, T) - Static method in class org.faktorips.testsupport.ValueSetMatchers
-
Creates a
Matcherthat matches aValueSetif itis a rangewith the given lower and upper bound.
L
- lacksMessageCode(String) - Static method in class org.faktorips.testsupport.IpsMatchers
-
Creates a
MessageListMessageMatcherthat matches aMessageListif it contains noMessagewith the givencode.
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
Messageif it'smessage codeis the givenmessageCode. - 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
Messagecontains 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
MessageListcontains aMessagewith 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
MessageListif one of it'sMessagesis matched by the givenMatcher<Message>. - MessageListMessageMatcher(Matcher<Message>...) - Constructor for class org.faktorips.testsupport.matchers.MessageListMessageMatcher
- MessageListObjectPropertyMatcher - Class in org.faktorips.testsupport.matchers
-
Matches a
MessageListif it contains a given number ofMessageswith a givenObjectProperty. - 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'ssize. - MessageListSizeMatcher(Matcher<Integer>) - Constructor for class org.faktorips.testsupport.matchers.MessageListSizeMatcher
- MessageMarkerMatcher - Class in org.faktorips.testsupport.matchers
-
Matches a
Messageif it'smarkerscontain the givenmarker. - MessageMarkerMatcher(IMarker) - Constructor for class org.faktorips.testsupport.matchers.MessageMarkerMatcher
- MessageMatcher - Class in org.faktorips.testsupport.matchers
-
A typesafe
Matcherfor aMessage. - MessageMatcher() - Constructor for class org.faktorips.testsupport.matchers.MessageMatcher
- MessagePropertyMatcher<P> - Class in org.faktorips.testsupport.matchers
-
Creates a
MessageMatcherthat extracts a property of type <P> from aMessageand matches it with a given matcher. - MessagePropertyMatcher(Function<Message, P>, Matcher<P>, String) - Constructor for class org.faktorips.testsupport.matchers.MessagePropertyMatcher
-
Creates a new
MessageMatcherthat extracts a property of type <P> from aMessageand matches it with the given matcher. - MessageSeverityMatcher - Class in org.faktorips.testsupport.matchers
-
Matches a
Messageif it'sseverityis the givenSeverity. - 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
Matchersfor use in JUnit tests of Faktor-IPS (generated) code.
S
- SingleInternationalString - Class in org.faktorips.testsupport
-
Implementation of
InternationalStringwhich 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
Matchersfor use in JUnit tests of Faktor-IPSvalue 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.
All Classes and Interfaces|All Packages|Serialized Form