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  com.atlassian.plugin.module.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 java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testRegister

public void testRegister()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testUnregister

public void testUnregister()
                    throws java.lang.Exception
Throws:
java.lang.Exception

getDefaultModuleClassFactory

protected com.atlassian.plugin.module.ModuleFactory getDefaultModuleClassFactory()

testPluginModuleEnabled

public void testPluginModuleEnabled()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testPluginModuleDisabled

public void testPluginModuleDisabled()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testUnregisterPluginModule

public void testUnregisterPluginModule()
                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2013 Atlassian. All Rights Reserved.