Interface LabelAssertions
- All Known Implementing Classes:
LabelAssertionsImpl
public interface LabelAssertions
Used to make assertions about labels.
- Since:
- v4.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertLabels
(String issueId, String fieldId, Labels expectedLabels) Asserts that the given labels match the labels in the given contextvoid
assertLabelsContain
(String issueId, String fieldId, Labels expectedLabels) Asserts that the given labels are contained in the labels in the given contextvoid
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
-
Method Details
-
assertLabelsExist
Asserts that labels exist for the given context.- Parameters:
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system field
-
assertLabelsDontExist
Asserts that labels don't exist for the given context.- Parameters:
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system field
-
assertLabels
Asserts that the given labels match the labels in the given context- Parameters:
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldexpectedLabels
- The expected labels
-
assertSystemLabels
Asserts that the given labels match the labels in the given context- Parameters:
issueId
- The id of the issueexpectedLabels
- The expected labels
-
assertLabelsContain
Asserts that the given labels are contained in the labels in the given context- Parameters:
issueId
- The id of the issuefieldId
- The id of the field. Use 'labels' for system fieldexpectedLabels
- The expected labels
-