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 testGetDownloadableBatchResourceWithConditionalComments()
           
 void testGetDownloadableClasspathResource()
           
 void testGetDownloadableContextBatchResource()
           
 void testGetDownloadableContextBatchSubResource()
           
 void testGetDownloadableMergedContextBatchResource()
           
 void testGetDownloadableMergedContextBatchResourceWithOverlap()
           
 void testGetDownloadableSuperBatchResource()
           
 void testGetDownloadableSuperBatchSubResource()
           
 void testGetForwardableResource()
           
 void testGetMissingTransformerDownloadableClasspathResource()
           
 void testGetPluginResourcesWithBatching()
           
 void testGetPluginResourcesWithBatchParameter()
           
 void testGetPluginResourcesWithForwarding()
           
 void testGetPluginResourcesWithoutBatching()
           
 void testGetTransformedDownloadableClasspathResource()
           
 void testGetUnmatchedTransformDownloadableClasspathResource()
           
 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, failNotEquals, failNotSame, failSame, format
 
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 Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

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

testMatches

public void testMatches()

testNotMatches

public void testNotMatches()

testGetAndParseUrl

public void testGetAndParseUrl()

testGetPluginResourcesWithoutBatching

public void testGetPluginResourcesWithoutBatching()
                                           throws Exception
Throws:
Exception

testGetPluginResourcesWithBatching

public void testGetPluginResourcesWithBatching()
                                        throws Exception
Throws:
Exception

testGetPluginResourcesWithBatchParameter

public void testGetPluginResourcesWithBatchParameter()
                                              throws Exception
Throws:
Exception

testGetPluginResourcesWithForwarding

public void testGetPluginResourcesWithForwarding()
                                          throws Exception
Throws:
Exception

testGetForwardableResource

public void testGetForwardableResource()
                                throws Exception
Throws:
Exception

testGetDownloadableClasspathResource

public void testGetDownloadableClasspathResource()
                                          throws Exception
Throws:
Exception

testGetTransformedDownloadableClasspathResource

public void testGetTransformedDownloadableClasspathResource()
                                                     throws Exception
Throws:
Exception

testGetUnmatchedTransformDownloadableClasspathResource

public void testGetUnmatchedTransformDownloadableClasspathResource()
                                                            throws Exception
Throws:
Exception

testGetMissingTransformerDownloadableClasspathResource

public void testGetMissingTransformerDownloadableClasspathResource()
                                                            throws Exception
Throws:
Exception

testGetDownloadableBatchResource

public void testGetDownloadableBatchResource()
                                      throws Exception
Throws:
Exception

testGetDownloadableBatchResourceWithConditionalComments

public void testGetDownloadableBatchResourceWithConditionalComments()
                                                             throws Exception
Throws:
Exception

testGetDownloadableBatchResourceWhenModuleIsUnkown

public void testGetDownloadableBatchResourceWhenModuleIsUnkown()
                                                        throws Exception
Throws:
Exception

testGetDownloadableBatchResourceFallbacksToSingle

public void testGetDownloadableBatchResourceFallbacksToSingle()
                                                       throws Exception
Throws:
Exception

testGetDownloadableSuperBatchResource

public void testGetDownloadableSuperBatchResource()
                                           throws Exception
Throws:
Exception

testGetDownloadableSuperBatchSubResource

public void testGetDownloadableSuperBatchSubResource()
                                              throws Exception
Throws:
Exception

testGetDownloadableContextBatchSubResource

public void testGetDownloadableContextBatchSubResource()
                                                throws Exception
Throws:
Exception

testGetDownloadableContextBatchResource

public void testGetDownloadableContextBatchResource()
                                             throws Exception
Throws:
Exception

testGetDownloadableMergedContextBatchResource

public void testGetDownloadableMergedContextBatchResource()
                                                   throws Exception
Throws:
Exception

testGetDownloadableMergedContextBatchResourceWithOverlap

public void testGetDownloadableMergedContextBatchResourceWithOverlap()
                                                              throws Exception
Throws:
Exception

testSplitLastPathPart

public void testSplitLastPathPart()


Copyright © 2013 Atlassian. All Rights Reserved.