org.ujac.util.io.test
Class CachedResourceLoaderTest

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

public class CachedResourceLoaderTest
extends junit.framework.TestCase

Name: CachedResourceLoaderTest
Description: Test cases for the CachedResourceLoader class.

Author:
lauerc

Constructor Summary
CachedResourceLoaderTest()
          Constructs a CachedResourceLoaderTest instance with specific attributes.
CachedResourceLoaderTest(String name)
          Constructs a CachedResourceLoaderTest instance with specific attributes.
 
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

CachedResourceLoaderTest

public CachedResourceLoaderTest()
Constructs a CachedResourceLoaderTest instance with specific attributes.


CachedResourceLoaderTest

public CachedResourceLoaderTest(String name)
Constructs a CachedResourceLoaderTest instance with specific attributes.

Parameters:
name - The name of the test case.
Method Detail

setUp

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

testLoadResource

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

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

testResourceExists

public void testResourceExists()
Tests attribute name conversion.


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.