public class TestFindingAttachments extends BaseJiraWebTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TestRule |
cleanAttachmentsRule |
jiraWebTestClassRules, webTestRulebackdoor, jira, logger, mailHelper, pageBinder| Constructor and Description |
|---|
TestFindingAttachments() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUpTest() |
void |
testFindingAttachmentWithBucketIssueDirectory()
This test checks that an attachment can be found when stored with the directory
../ProjectKey/IssueBucket/IssueKey/AttachmentID.
|
void |
testFindingAttachmentWithLegacyFileName()
This test checks that an attachment can be found when stored in the old version of
../ProjectKey/IssueKey/AttachmentID_AttachmentFileName
|
void |
testFindingAttachmentWithProjectIssueDirectory()
This test checks that an attachment can be found when stored in the old version of
../ProjectKey/IssueKey/AttachmentID
|
getBackdoor, getBaseClassRule, getBaseRulepublic void setUpTest()
public void testFindingAttachmentWithBucketIssueDirectory()
throws Exception
Exception - if something goes wrong in the testpublic void testFindingAttachmentWithProjectIssueDirectory()
throws Exception
Exception - if something goes wrong with the testpublic void testFindingAttachmentWithLegacyFileName()
throws Exception
Exception - if something goes wrong with the testCopyright © 2002-2022 Atlassian. All Rights Reserved.