public class TestXmlIssueView extends BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestXmlIssueView() |
Modifier and Type | Method and Description |
---|---|
void |
_testEscapedUsers(String unEscapedCharacter,
String urlEncodedCharacter) |
void |
_testTranslation(String xpathexpr,
String notExpected) |
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 |
subTaskify(String issueKey,
String parentKey)
Convert the given issue into a subtask of the given parent issue.
|
void |
testAggregateTimeTracking() |
void |
testAttachmentsAlwaysPresent() |
void |
testCustomFields() |
void |
testEscapingCommentVisibility() |
void |
testNodeExistence() |
void |
testPotentiallyInvalidCharacters() |
void |
testRawRssView() |
void |
testTranslation() |
void |
testUsers() |
void |
testXSSInConfluence() |
getAssertions, getBackdoor, getEnvironmentData, getTester
public void testPotentiallyInvalidCharacters() throws electric.xml.ParseException, IOException
electric.xml.ParseException
IOException
public void testUsers() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void _testEscapedUsers(String unEscapedCharacter, String urlEncodedCharacter) throws IOException
IOException
public void testEscapingCommentVisibility() throws Exception
Exception
public void testAggregateTimeTracking() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
protected void subTaskify(String issueKey, String parentKey)
issueKey
- issue keyparentKey
- parent issue keypublic void testAttachmentsAlwaysPresent() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testNodeExistence() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testRawRssView() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
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 elementpublic void testCustomFields() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testXSSInConfluence() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void testTranslation() throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
public void _testTranslation(String xpathexpr, String notExpected) throws IOException, electric.xml.ParseException
IOException
electric.xml.ParseException
Copyright © 2002-2021 Atlassian. All Rights Reserved.