org.apache.commons.resources.impl
Class JDBCResourcesTestCase

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
                      extended by org.apache.commons.resources.impl.JDBCResourcesTestCase
All Implemented Interfaces:
junit.framework.Test

public class JDBCResourcesTestCase
extends CollectionResourcesBaseTestCase

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

Version:
$Revision: 354761 $ $Date: 2005-12-07 15:11:58 +0000 (Wed, 07 Dec 2005) $
Author:
James Mitchell

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
JDBCResourcesTestCase(String name)
           
 
Method Summary
protected  String getBase()
           
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testInherit()
           
 void testKeys()
           
 void testLocaleList()
           
 void testMissing()
           
 void testPristine()
           
 void testRelease()
           
 void testSpecific()
           
 
Methods inherited from class org.apache.commons.resources.impl.CollectionResourcesBaseTestCase
checkLocaleList
 
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

JDBCResourcesTestCase

public JDBCResourcesTestCase(String name)
Method Detail

getBase

protected String getBase()
                  throws Exception
Overrides:
getBase in class CollectionResourcesBaseTestCase
Throws:
Exception

setUp

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

suite

public static junit.framework.Test suite()

tearDown

public void tearDown()
Overrides:
tearDown in class CollectionResourcesBaseTestCase

testInherit

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

testLocaleList

public void testLocaleList()
Overrides:
testLocaleList in class CollectionResourcesBaseTestCase

testMissing

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

testSpecific

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

testKeys

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

testPristine

public void testPristine()
Overrides:
testPristine in class ResourcesBaseTestCase

testRelease

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


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