com.atlassian.plugin.webresource
Class TestSingleDownloadableResourceBuilder

java.lang.Object
  extended by com.atlassian.plugin.webresource.TestSingleDownloadableResourceBuilder

public class TestSingleDownloadableResourceBuilder
extends Object


Field Summary
static String MODULE_KEY
           
static String PLUGIN_KEY
           
 
Constructor Summary
TestSingleDownloadableResourceBuilder()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testParseInvalidUrlThrowsException()
           
 void testParseWithSimpleName()
           
 void testParseWithSlashesInName()
           
 void testRoundTrip()
           
 void testVariableSubsitutionWithPrefixReplacement()
           
 void testVariableSubstitutionWithEmptyReplacement()
           
 void variableSubsitutionWithMissingVariablesLeavesTemplateInPlace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_KEY

public static final String MODULE_KEY
See Also:
Constant Field Values

PLUGIN_KEY

public static final String PLUGIN_KEY
See Also:
Constant Field Values
Constructor Detail

TestSingleDownloadableResourceBuilder

public TestSingleDownloadableResourceBuilder()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testParseWithSimpleName

public void testParseWithSimpleName()
                             throws Exception
Throws:
Exception

testParseWithSlashesInName

public void testParseWithSlashesInName()
                                throws Exception
Throws:
Exception

testRoundTrip

public void testRoundTrip()
                   throws Exception
Throws:
Exception

testParseInvalidUrlThrowsException

public void testParseInvalidUrlThrowsException()
                                        throws UrlParseException
Throws:
UrlParseException

testVariableSubstitutionWithEmptyReplacement

public void testVariableSubstitutionWithEmptyReplacement()

testVariableSubsitutionWithPrefixReplacement

public void testVariableSubsitutionWithPrefixReplacement()

variableSubsitutionWithMissingVariablesLeavesTemplateInPlace

public void variableSubsitutionWithMissingVariablesLeavesTemplateInPlace()


Copyright © 2013 Atlassian. All Rights Reserved.