public interface LabelAssertions
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 |
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
|
void assertLabelsExist(String issueId, String fieldId)
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldvoid assertLabelsDontExist(String issueId, String fieldId)
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldvoid assertLabels(String issueId, String fieldId, Labels expectedLabels)
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldexpectedLabels
- The expected labelsvoid assertSystemLabels(String issueId, Labels expectedLabels)
issueId
- The id of the issueexpectedLabels
- The expected labelsvoid assertLabelsContain(String issueId, String fieldId, Labels expectedLabels)
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldexpectedLabels
- The expected labelsCopyright © 2002-2021 Atlassian. All Rights Reserved.