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, getTesterpublic void testNodeFilter()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testProjectFieldFilter()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testCustomFieldFilter()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testMultipleNodeFilter()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testParentNodeFilter()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testNodeFilterMapping()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testValidAndInvalidFieldDefined()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testTimetrackingField()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionprotected void checkDisabledTimetracking(String issueKey, String fieldParam) throws IOException, electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionprotected void checkFieldDefinitionError(String fieldParam) throws Exception
Exceptionprotected void checkNodeFilter(String fieldParam, String expectedField) throws IOException, electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionprotected 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
IOExceptionelectric.xml.ParseExceptionCopyright © 2002-2019 Atlassian. All Rights Reserved.