com.atlassian.plugin.servlet.download.plugin
Class TestPluggableDownloadStrategy

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

public class TestPluggableDownloadStrategy
extends junit.framework.TestCase


Constructor Summary
TestPluggableDownloadStrategy()
           
 
Method Summary
protected  ModuleFactory getDefaultModuleClassFactory()
           
protected  void setUp()
           
 void testPluginModuleDisabled()
           
 void testPluginModuleEnabled()
           
 void testRegister()
           
 void testUnregister()
           
 void testUnregisterPluginModule()
           
 
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

TestPluggableDownloadStrategy

public TestPluggableDownloadStrategy()
Method Detail

setUp

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

testRegister

public void testRegister()
                  throws Exception
Throws:
Exception

testUnregister

public void testUnregister()
                    throws Exception
Throws:
Exception

getDefaultModuleClassFactory

protected ModuleFactory getDefaultModuleClassFactory()

testPluginModuleEnabled

public void testPluginModuleEnabled()
                             throws Exception
Throws:
Exception

testPluginModuleDisabled

public void testPluginModuleDisabled()
                              throws Exception
Throws:
Exception

testUnregisterPluginModule

public void testUnregisterPluginModule()
                                throws Exception
Throws:
Exception


Copyright © 2014 Atlassian. All rights reserved.