public class TestAttachTemporaryFileResource extends BaseJiraEmailTest
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_TOKEN |
assertions, mailHelperadministration, backdoor, bulkOperations, editIssueFieldVisibility, environmentData, form, indexing, initClass, issueTableAssertions, locator, logger, navigation, page, parse, tester, testRule, textAssertions| Constructor and Description |
|---|
TestAttachTemporaryFileResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRestUrlWithToken(org.apache.commons.httpclient.HttpClient client,
Object... params) |
void |
testAttachmentsDisabled() |
void |
testAttachmentToBig() |
void |
testAttachTriggersNotification() |
void |
testBadXsrfAttach() |
void |
testGoodRequest() |
void |
testNoAttachPermission() |
void |
testNoSizeRequest() |
void |
testTooBigRequest() |
void |
testTooSmallRequest() |
assertEmailTitleEqualsforTest, getAssertions, getBackdoor, getEnvironmentData, getTesterpublic static final String JSON_TOKEN
public void testAttachTriggersNotification()
throws Exception
Exceptionpublic void testAttachmentsDisabled()
throws IOException,
JSONException
IOExceptionJSONExceptionpublic void testNoAttachPermission()
throws IOException,
JSONException
IOExceptionJSONExceptionpublic void testAttachmentToBig()
throws IOException,
JSONException
IOExceptionJSONExceptionpublic void testBadXsrfAttach()
throws IOException,
JSONException
IOExceptionJSONExceptionCopyright © 2002-2016 Atlassian. All Rights Reserved.