public class LabelAssertionsImpl extends Object implements LabelAssertions
Constructor and Description |
---|
LabelAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
void |
assertLabels(String issueId,
String fieldId,
Labels expectedLabels)
Asserts that the given labels match the labels in the given context
|
void |
assertLabelsContain(String issueId,
String fieldId,
Labels expectedLabels)
Asserts that the given labels are contained in the labels in the given context
|
void |
assertLabelsDontExist(String issueId,
String fieldId)
Asserts that labels don't exist for the given context.
|
void |
assertLabelsEmpty(Labels labels) |
void |
assertLabelsExist(String issueId,
String fieldId)
Asserts that labels exist for the given context.
|
void |
assertSystemLabels(String issueId,
Labels expectedLabels)
Asserts that the given labels match the labels in the given context
|
@Inject public LabelAssertionsImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
public void assertLabelsExist(String issueId, String fieldId)
LabelAssertions
assertLabelsExist
in interface LabelAssertions
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldpublic void assertLabelsDontExist(String issueId, String fieldId)
LabelAssertions
assertLabelsDontExist
in interface LabelAssertions
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldpublic void assertLabelsEmpty(Labels labels)
public void assertLabels(String issueId, String fieldId, Labels expectedLabels)
LabelAssertions
assertLabels
in interface LabelAssertions
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldexpectedLabels
- The expected labelspublic void assertSystemLabels(String issueId, Labels expectedLabels)
LabelAssertions
assertSystemLabels
in interface LabelAssertions
issueId
- The id of the issueexpectedLabels
- The expected labelspublic void assertLabelsContain(String issueId, String fieldId, Labels expectedLabels)
LabelAssertions
assertLabelsContain
in interface LabelAssertions
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldexpectedLabels
- The expected labelsCopyright © 2002-2022 Atlassian. All Rights Reserved.