org.ujac.util.io.test
Class HttpResourceLoaderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.util.io.test.HttpResourceLoaderTest
All Implemented Interfaces:
junit.framework.Test

public class HttpResourceLoaderTest
extends junit.framework.TestCase

Name: HttpResourceLoaderTest
Description: Test cases for the HttpResourceLoader class.

Author:
lauerc

Constructor Summary
HttpResourceLoaderTest()
           
 
Method Summary
static void main(String[] args)
          Runs all test cases.
protected  void setUp()
           
 void testLoadResource()
          Tests attribute name conversion.
 void testResourceExists()
          Tests attribute name conversion.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

HttpResourceLoaderTest

public HttpResourceLoaderTest()
Method Detail

setUp

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

testResourceExists

public void testResourceExists()
Tests attribute name conversion.


testLoadResource

public void testLoadResource()
                      throws IOException
Tests attribute name conversion.

Throws:
IOException - In case the resource could not be loaded.

main

public static void main(String[] args)
Runs all test cases.

Parameters:
args - The command line arguments.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.