|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.confluence.ThreadLocalWebTestCase com.atlassian.confluence.AbstractAtlassianWebTestCase com.atlassian.confluence.AbstractConfluenceAcceptanceTest com.atlassian.confluence.AttachmentUploadAcceptanceTest
public class AttachmentUploadAcceptanceTest
Tests the action for uploading attachments directly from AJAX, etc.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
Constructor Summary | |
---|---|
AttachmentUploadAcceptanceTest()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttachmentUploadAcceptanceTest()
Method Detail |
---|
public void testUploadAttachments() throws Exception
Exception
public void testUploadAttachmentWithInvalidTypeGetsFixed() throws Exception
Exception
public void testUploadAttachmentWithGenericContentTypeGetsFixed() throws Exception
Exception
public void testUploadAttachmentWithGenericContentTypeGetsFixedXlsm() throws Exception
Exception
public void testUploadAttachmentWithGenericContentTypeGetsFixedXlsb() throws Exception
Exception
public void testUploadAttachmentOfficeXmlAsZipLikeIEDoesIt() throws Exception
Exception
public void testUploadAttachmentOpenOfficeXmlAsZipLikeIEDoesIt() throws Exception
Exception
public void testUploadAttachmentZipFile() throws Exception
Exception
public void testUploadAttachmentKeepsProperContentTypeJpeg() throws Exception
Exception
public void testUploadAttachmentKeepsProperContentTypeGif() throws Exception
Exception
public void testUploadAttachmentKeepsProperContentTypePng() throws Exception
Exception
public void testUploadAttachmentKeepsProperContentTypeTxt() throws Exception
Exception
public void testValidationErrorWhenAttachmentTooLarge() throws Exception
Exception
public void testValidationErrorWhenNotPermitted() throws Exception
Exception
public void testValidationErrorWhenTooManyAttachments() throws Exception
Exception
public void testValidationErrorWhenInvalidCharactersInFilename() throws Exception
Exception
public void testEscapingValidationErrorWhenInvalidCharactersInFilename() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |