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, getTesterpublic void testPotentiallyInvalidCharacters()
throws electric.xml.ParseException,
IOException
electric.xml.ParseExceptionIOExceptionpublic void testUsers()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void _testEscapedUsers(String unEscapedCharacter, String urlEncodedCharacter) throws IOException
IOExceptionpublic void testEscapingCommentVisibility()
throws Exception
Exceptionpublic void testAggregateTimeTracking()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionprotected void subTaskify(String issueKey, String parentKey)
issueKey - issue keyparentKey - parent issue keypublic void testAttachmentsAlwaysPresent()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testNodeExistence()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testRawRssView()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic 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
IOExceptionelectric.xml.ParseExceptionpublic void testXSSInConfluence()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void testTranslation()
throws IOException,
electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionpublic void _testTranslation(String xpathexpr, String notExpected) throws IOException, electric.xml.ParseException
IOExceptionelectric.xml.ParseExceptionCopyright © 2002-2018 Atlassian. All Rights Reserved.