com.atlassian.plugin.util.resource
Class TestAlternativeDirectoryResourceLoader

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.util.resource.TestAlternativeDirectoryResourceLoader
All Implemented Interfaces:
junit.framework.Test

public class TestAlternativeDirectoryResourceLoader
extends junit.framework.TestCase


Constructor Summary
TestAlternativeDirectoryResourceLoader()
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void testGetResource()
           
 void testGetResourceAsStream()
           
 void testGetResourceNoProperty()
           
 void testGetResourceWithTwoDefined()
           
 void testGetResourceWithWhitespace()
           
 
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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAlternativeDirectoryResourceLoader

public TestAlternativeDirectoryResourceLoader()
Method Detail

setUp

public void setUp()
           throws java.io.IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.io.IOException

tearDown

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

testGetResource

public void testGetResource()
                     throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testGetResourceWithTwoDefined

public void testGetResourceWithTwoDefined()
                                   throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testGetResourceWithWhitespace

public void testGetResourceWithWhitespace()
                                   throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testGetResourceNoProperty

public void testGetResourceNoProperty()
                               throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testGetResourceAsStream

public void testGetResourceAsStream()
                             throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException


Copyright © 2013 Atlassian. All Rights Reserved.