public class TestXmlCustomIssueView extends BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestXmlCustomIssueView() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertElementExists(electric.xml.Document doc,
String xPathExpression) |
protected void |
assertElementForCustomView(electric.xml.Document doc,
String xPathExpression,
String expectedField) |
protected void |
assertElementNotExists(electric.xml.Document doc,
String xPathExpression) |
void |
assertExpectedXpathValue(electric.xml.Document doc,
String xPathExpression,
String expectedValue,
String attribute)
Asserts that the given XPATH expression resolves to the given expected value in the given Document.
|
protected void |
checkDisabledTimetracking(String issueKey,
String fieldParam) |
protected void |
checkFieldDefinitionError(String fieldParam) |
protected void |
checkNodeFilter(String fieldParam,
String expectedField) |
protected electric.xml.Document |
getDocument() |
protected String |
getHSP1ViewPage(String fieldParam) |
protected String |
getHSP2ViewPage(String fieldParam) |
protected String |
getHSP3ViewPage(String fieldParam) |
void |
testCustomFieldFilter() |
void |
testInvalidFieldDefined() |
void |
testMultipleNodeFilter() |
void |
testNodeFilter() |
void |
testNodeFilterMapping() |
void |
testParentNodeFilter() |
void |
testProjectFieldFilter() |
void |
testTimetrackingField() |
void |
testValidAndInvalidFieldDefined() |
getAssertions, getBackdoor, getEnvironmentData, getTester
public void testNodeFilter() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testProjectFieldFilter() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testCustomFieldFilter() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testMultipleNodeFilter() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testParentNodeFilter() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testNodeFilterMapping() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testValidAndInvalidFieldDefined() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testTimetrackingField() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
protected void checkDisabledTimetracking(String issueKey, String fieldParam) throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
protected void checkFieldDefinitionError(String fieldParam) throws Exception
Exception
protected void checkNodeFilter(String fieldParam, String expectedField) throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
protected void assertElementForCustomView(electric.xml.Document doc, String xPathExpression, String expectedField)
protected void assertElementExists(electric.xml.Document doc, String xPathExpression)
protected void assertElementNotExists(electric.xml.Document doc, String xPathExpression)
public void assertExpectedXpathValue(electric.xml.Document doc, String xPathExpression, String expectedValue, String attribute)
doc
- the Document to check the XPath ofxPathExpression
- The XPath to an element you want to check the value ofexpectedValue
- the expected value.attribute
- null if you're checking an element value, or an attribute name of the selected elementprotected electric.xml.Document getDocument() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
Copyright © 2002-2022 Atlassian. All Rights Reserved.