org.apache.commons.resources.impl
Class CollectionResourcesBaseTestCase

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
                  extended by org.apache.commons.resources.impl.CollectionResourcesBaseTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
JDBCResourcesTestCase, PropertyResourcesTestCase, XMLResourcesTestCase

public class CollectionResourcesBaseTestCase
extends ResourcesBaseTestCase

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


Field Summary
 
Fields inherited from class org.apache.commons.resources.impl.ResourcesBaseTestCase
resources
 
Fields inherited from class org.apache.commons.resources.impl.ResourcesFactoryBaseTestCase
factory, NAME
 
Constructor Summary
CollectionResourcesBaseTestCase(String name)
           
 
Method Summary
protected  void checkLocaleList(Locale test, List expected, List actual)
           
protected  String getBase()
           
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testInherit()
           
 void testLocaleList()
           
 void testMissing()
           
 void testSpecific()
           
 
Methods inherited from class org.apache.commons.resources.impl.ResourcesBaseTestCase
testKeys, testPristine, testRelease
 
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
 

Constructor Detail

CollectionResourcesBaseTestCase

public CollectionResourcesBaseTestCase(String name)
Method Detail

setUp

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

suite

public static junit.framework.Test suite()

tearDown

public void tearDown()
Overrides:
tearDown in class ResourcesBaseTestCase

getBase

protected String getBase()
                  throws Exception
Throws:
Exception

testInherit

public void testInherit()
                 throws Exception
Overrides:
testInherit in class ResourcesBaseTestCase
Throws:
Exception

testLocaleList

public void testLocaleList()

testMissing

public void testMissing()
                 throws Exception
Overrides:
testMissing in class ResourcesBaseTestCase
Throws:
Exception

testSpecific

public void testSpecific()
                  throws Exception
Overrides:
testSpecific in class ResourcesBaseTestCase
Throws:
Exception

checkLocaleList

protected void checkLocaleList(Locale test,
                               List expected,
                               List actual)


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