|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.functest.framework.AbstractFuncTestUtil com.atlassian.jira.functest.framework.assertions.LabelAssertionsImpl
public class LabelAssertionsImpl
Implementation for Label Assertions
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
environmentData, FS, locators, logger, logIndentLevel, tester |
Constructor Summary | |
---|---|
LabelAssertionsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData)
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelAssertionsImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
Method Detail |
---|
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 labels
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |