com.atlassian.plugin.servlet
Class TestAbstractDownloadableResource

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.servlet.TestAbstractDownloadableResource
All Implemented Interfaces:
junit.framework.Test

public class TestAbstractDownloadableResource
extends junit.framework.TestCase

A test for AbstractDownloadableResource


Constructor Summary
TestAbstractDownloadableResource()
           
 
Method Summary
 void setUp()
           
 void testMinificationStrategyAlreadyMinimised()
           
 void testMinificationStrategyCss()
           
 void testMinificationStrategyNotMinimisedAndDisabled()
           
 void testMinificationStrategyNotMinimisedAndEnabled()
           
 void testMinificationStrategyNotMinimisedAndSystemDisabled()
           
 void testMinificationStrategyNotMinimisedAndSystemEnabled()
           
 void testMinificationStrategyWithTwoMinsInName()
           
 void testMinificationStrategyWrongFileType()
           
 void testWhenDevModeSystemPropertyIsSet()
           
 void testWhenSystemPropertyIsSet()
           
 void testWithMinifiedStrategyInPlay()
           
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAbstractDownloadableResource

public TestAbstractDownloadableResource()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testMinificationStrategyWrongFileType

public void testMinificationStrategyWrongFileType()
                                           throws Exception
Throws:
Exception

testMinificationStrategyCss

public void testMinificationStrategyCss()
                                 throws Exception
Throws:
Exception

testMinificationStrategyWithTwoMinsInName

public void testMinificationStrategyWithTwoMinsInName()
                                               throws Exception
Throws:
Exception

testMinificationStrategyAlreadyMinimised

public void testMinificationStrategyAlreadyMinimised()
                                              throws Exception
Throws:
Exception

testMinificationStrategyNotMinimisedAndEnabled

public void testMinificationStrategyNotMinimisedAndEnabled()
                                                    throws Exception
Throws:
Exception

testMinificationStrategyNotMinimisedAndDisabled

public void testMinificationStrategyNotMinimisedAndDisabled()
                                                     throws Exception
Throws:
Exception

testMinificationStrategyNotMinimisedAndSystemDisabled

public void testMinificationStrategyNotMinimisedAndSystemDisabled()
                                                           throws Exception
Throws:
Exception

testMinificationStrategyNotMinimisedAndSystemEnabled

public void testMinificationStrategyNotMinimisedAndSystemEnabled()
                                                          throws Exception
Throws:
Exception

testWithMinifiedStrategyInPlay

public void testWithMinifiedStrategyInPlay()
                                    throws DownloadException
Throws:
DownloadException

testWhenSystemPropertyIsSet

public void testWhenSystemPropertyIsSet()
                                 throws DownloadException
Throws:
DownloadException

testWhenDevModeSystemPropertyIsSet

public void testWhenDevModeSystemPropertyIsSet()
                                        throws DownloadException
Throws:
DownloadException


Copyright © 2014 Atlassian. All rights reserved.