public class

AttachmentMimeTypeTranslatorTest

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.util.AttachmentMimeTypeTranslatorTest

Summary

Public Constructors
AttachmentMimeTypeTranslatorTest()
Public Methods
final void setUp()
final void testDoubleFileExtensions()
final void testFixIeImageMimeTypes()
final void testImageMimeTypes()
final void testInvalidArguments()
final void testMindManagerMaps()
void testResolveProperMimeTypeFixPowerPoint()
final void testResolveProperMimeTypeKeepExistingIfNoExtension()
void testResolveProperMimeTypeOfficeX()
void testResolveProperMimeTypeOfficeXMacroEnabled()
void testResolveProperMimeTypeOpenOffice()
void testResolveProperMimeTypeReturnDefault()
void testResolveProperMimeTypes()
[Expand]
Inherited Methods
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public AttachmentMimeTypeTranslatorTest ()

Public Methods

public final void setUp ()

public final void testDoubleFileExtensions ()

Throws
Exception

public final void testFixIeImageMimeTypes ()

Throws
Exception

public final void testImageMimeTypes ()

Throws
Exception

public final void testInvalidArguments ()

Throws
Exception

public final void testMindManagerMaps ()

Throws
Exception

public void testResolveProperMimeTypeFixPowerPoint ()

Throws
Exception

public final void testResolveProperMimeTypeKeepExistingIfNoExtension ()

Throws
Exception

public void testResolveProperMimeTypeOfficeX ()

Throws
Exception

public void testResolveProperMimeTypeOfficeXMacroEnabled ()

Throws
Exception

public void testResolveProperMimeTypeOpenOffice ()

Throws
Exception

public void testResolveProperMimeTypeReturnDefault ()

Throws
Exception

public void testResolveProperMimeTypes ()

Throws
Exception