public interface

LabelAssertions

com.atlassian.jira.functest.framework.assertions.LabelAssertions
Known Indirect Subclasses

Class Overview

Used to make assertions about labels.

Summary

Public Methods
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

Public Methods

public void assertLabels (String issueId, String fieldId, Labels expectedLabels)

Asserts that the given labels match the labels in the given context

Parameters
issueId The id of the issue
fieldId The id of the field. Use 'labels' for system field
expectedLabels The expected labels

public void assertLabelsContain (String issueId, String fieldId, Labels expectedLabels)

Asserts that the given labels are contained in the labels in the given context

Parameters
issueId The id of the issue
fieldId The id of the field. Use 'labels' for system field
expectedLabels The expected labels

public void assertLabelsDontExist (String issueId, String fieldId)

Asserts that labels don't exist for the given context.

Parameters
issueId The id of the issue
fieldId The id of the field. Use 'labels' for system field

public void assertLabelsExist (String issueId, String fieldId)

Asserts that labels exist for the given context.

Parameters
issueId The id of the issue
fieldId The id of the field. Use 'labels' for system field

public void assertSystemLabels (String issueId, Labels expectedLabels)

Asserts that the given labels match the labels in the given context

Parameters
issueId The id of the issue
expectedLabels The expected labels