org.apache.commons.resources.impl
Class ResourcesBaseTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.resources.impl.ResourcesFactoryBaseTestCase
              extended by org.apache.commons.resources.impl.ResourcesBaseTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
CollectionResourcesBaseTestCase

public class ResourcesBaseTestCase
extends ResourcesFactoryBaseTestCase

Unit tests for org.apache.commons.resources.impl.ResourcesBase.


Field Summary
protected  org.apache.commons.resources.Resources resources
           
 
Fields inherited from class org.apache.commons.resources.impl.ResourcesFactoryBaseTestCase
factory, NAME
 
Constructor Summary
ResourcesBaseTestCase(String name)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testInherit()
           
 void testKeys()
           
 void testMissing()
           
 void testPristine()
           
 void testRelease()
           
 void testSpecific()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resources

protected org.apache.commons.resources.Resources resources
Constructor Detail

ResourcesBaseTestCase

public ResourcesBaseTestCase(String name)
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class ResourcesFactoryBaseTestCase
Throws:
Exception

suite

public static junit.framework.Test suite()

tearDown

public void tearDown()
Overrides:
tearDown in class ResourcesFactoryBaseTestCase

testInherit

public void testInherit()
                 throws Exception
Throws:
Exception

testKeys

public void testKeys()
              throws Exception
Throws:
Exception

testMissing

public void testMissing()
                 throws Exception
Throws:
Exception

testPristine

public void testPristine()
Overrides:
testPristine in class ResourcesFactoryBaseTestCase

testRelease

public void testRelease()
                 throws Exception
Throws:
Exception

testSpecific

public void testSpecific()
                  throws Exception
Throws:
Exception


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.