public class TestAttachTemporaryFileResource extends BaseJiraEmailTest
Modifier and Type | Field and Description |
---|---|
static String |
JSON_TOKEN |
assertions, mailHelper
backdoor, environmentData, initClass, navigation, tester, testRule
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() |
assertEmailTitleEquals
getAssertions, getBackdoor, getEnvironmentData, getTester
public static final String JSON_TOKEN
public void testAttachTriggersNotification() throws Exception
Exception
public void testAttachmentsDisabled() throws IOException, JSONException
IOException
JSONException
public void testNoAttachPermission() throws IOException, JSONException
IOException
JSONException
public void testAttachmentToBig() throws IOException, JSONException
IOException
JSONException
public void testBadXsrfAttach() throws IOException, JSONException
IOException
JSONException
Copyright © 2002-2022 Atlassian. All Rights Reserved.