com.atlassian.jira.functest.matcher
Class LinkedIssuesMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue>
com.atlassian.jira.functest.matcher.LinkedIssuesMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue>, org.hamcrest.SelfDescribing
public class LinkedIssuesMatcher
- extends org.hamcrest.TypeSafeMatcher<com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue>
Used to test whether an issue is linked to another.
- Since:
- v5.0
Method Summary |
void |
describeTo(org.hamcrest.Description description)
|
static org.hamcrest.Matcher<com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue> |
hasLinkWithInwardIssue(String issueKey,
String linkTypeName)
|
static org.hamcrest.Matcher<com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue> |
hasLinkWithOutwardIssue(String issueKey,
String linkTypeName)
|
boolean |
matchesSafely(com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue issue)
|
Methods inherited from class org.hamcrest.TypeSafeMatcher |
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
LinkedIssuesMatcher
public LinkedIssuesMatcher(String expectedIssueKey,
String expectedLinkTypeName,
boolean outward)
hasLinkWithInwardIssue
public static org.hamcrest.Matcher<com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue> hasLinkWithInwardIssue(String issueKey,
String linkTypeName)
hasLinkWithOutwardIssue
public static org.hamcrest.Matcher<com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue> hasLinkWithOutwardIssue(String issueKey,
String linkTypeName)
matchesSafely
public boolean matchesSafely(com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue issue)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Issue>
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2002-2012 Atlassian. All Rights Reserved.