com.atlassian.plugin.webresource
Class TestPluginResourceLocatorImpl

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

public class TestPluginResourceLocatorImpl
extends junit.framework.TestCase


Constructor Summary
TestPluginResourceLocatorImpl()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testGetAndParseUrl()
           
 void testGetDownloadableBatchResource()
           
 void testGetDownloadableBatchResourceFallbacksToSingle()
           
 void testGetDownloadableBatchResourceWhenModuleIsUnkown()
           
 void testGetDownloadableClasspathResource()
           
 void testGetDownloadableSuperBatchResource()
           
 void testGetDownloadableSuperBatchSubResource()
           
 void testGetForwardableResource()
           
 void testGetMissingTransformerDownloadableClasspathResource()
           
 void testGetPluginResourcesWithBatching()
           
 void testGetPluginResourcesWithBatchParameter()
           
 void testGetPluginResourcesWithForwarding()
           
 void testGetPluginResourcesWithoutBatching()
           
 void testGetTransformedDownloadableClasspathResource()
           
 void testGetUnmatchedTransformDownloadableClasspathResource()
           
 void testIsBatchingOff()
           
 void testMatches()
           
 void testNotMatches()
           
 void testSplitLastPathPart()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

TestPluginResourceLocatorImpl

public TestPluginResourceLocatorImpl()
Method Detail

setUp

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

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testIsBatchingOff

public void testIsBatchingOff()

testMatches

public void testMatches()

testNotMatches

public void testNotMatches()

testGetAndParseUrl

public void testGetAndParseUrl()

testGetPluginResourcesWithoutBatching

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

testGetPluginResourcesWithBatching

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

testGetPluginResourcesWithBatchParameter

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

testGetPluginResourcesWithForwarding

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

testGetForwardableResource

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

testGetDownloadableClasspathResource

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

testGetTransformedDownloadableClasspathResource

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

testGetUnmatchedTransformDownloadableClasspathResource

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

testGetMissingTransformerDownloadableClasspathResource

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

testGetDownloadableBatchResource

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

testGetDownloadableBatchResourceWhenModuleIsUnkown

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

testGetDownloadableBatchResourceFallbacksToSingle

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

testGetDownloadableSuperBatchResource

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

testGetDownloadableSuperBatchSubResource

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

testSplitLastPathPart

public void testSplitLastPathPart()


Copyright © 2010 Atlassian. All Rights Reserved.