Class SuggestionMatchers
java.lang.Object
com.atlassian.jira.pageobjects.components.fields.SuggestionMatchers
Matchers for suggestions.
- Since:
- v4.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.hamcrest.Matcher
<Suggestion> containsSubstring
(String substring) static org.hamcrest.Matcher
<Iterable<MultiSelectSuggestion>> containsSuggestion
(String mainLabel) static org.hamcrest.Matcher
<Iterable<MultiSelectSuggestion>> containsSuggestion
(String mainLabel, String alias) static org.hamcrest.Matcher
<HasId> static <E extends HasId>
org.hamcrest.Matcher<E> static org.hamcrest.Matcher
<MultiSelectSuggestion> static org.hamcrest.Matcher
<MultiSelectSuggestion> hasMainLabel
(String mainLabel) static org.hamcrest.Matcher
<List<MultiSelectSuggestion>> static org.hamcrest.Matcher
<Iterable<MultiSelectSuggestion>> hasNumberSuggestions
(Integer numberSuggestions) static org.hamcrest.Matcher
<MultiSelectSuggestion> static <E extends HasId>
org.hamcrest.Matcher<E> idContainsSubstring
(String idSubstring, Class<E> targetType) static org.hamcrest.Matcher
<Suggestion> isActive()
static <S extends Suggestion>
org.hamcrest.Matcher<S>
-
Constructor Details
-
SuggestionMatchers
public SuggestionMatchers()
-
-
Method Details
-
hasText
-
hasMainLabel
-
hasLabels
-
hasNumberSuggestions
public static org.hamcrest.Matcher<Iterable<MultiSelectSuggestion>> hasNumberSuggestions(Integer numberSuggestions) -
hasNoMatches
-
containsSuggestion
public static org.hamcrest.Matcher<Iterable<MultiSelectSuggestion>> containsSuggestion(String mainLabel) -
containsSuggestion
public static org.hamcrest.Matcher<Iterable<MultiSelectSuggestion>> containsSuggestion(String mainLabel, String alias) -
containsSubstring
-
isActive
-
isActive
-
idContainsSubstring
-
hasId
-
hasId
-