public class

LabelAssertionsImpl

extends AbstractFuncTestUtil
implements LabelAssertions
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.AbstractFuncTestUtil
     ↳ com.atlassian.jira.functest.framework.assertions.LabelAssertionsImpl

Class Overview

Implementation for Label Assertions

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
Public Constructors
LabelAssertionsImpl(WebTester tester, JIRAEnvironmentData environmentData)
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 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
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.assertions.LabelAssertions
From interface com.atlassian.jira.testkit.client.log.FuncTestLogger

Public Constructors

public LabelAssertionsImpl (WebTester tester, JIRAEnvironmentData environmentData)

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 assertLabelsEmpty (Labels labels)

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