java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.enableit.db.daf.DAFFactoryTest
- All Implemented Interfaces:
- junit.framework.Test
- public class DAFFactoryTest
- extends junit.framework.TestCase
Tests ...
| Fields inherited from class junit.framework.TestCase |
|
|
Method Summary |
protected void |
setUp()
Define the test environment. |
static junit.framework.Test |
suite()
Defines all the tests for the Web Service application including
tests in this class. |
void |
testGetInstance()
Run a test to retrieve a DataAbstractionFacade using the factory. |
void |
testInitFromResource()
Run a test to configure the Data Abstraction Factory from a resource. |
| 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 |
logger
private static org.apache.log4j.Category logger
- Define a static Category variable for logging.
DAFFactoryTest
public DAFFactoryTest(java.lang.String name)
- Default Constructor
suite
public static junit.framework.Test suite()
- Defines all the tests for the Web Service application including
tests in this class.
setUp
protected void setUp()
throws java.lang.Exception
- Define the test environment.
testInitFromResource
public void testInitFromResource()
- Run a test to configure the Data Abstraction Factory from a resource.
testGetInstance
public void testGetInstance()
- Run a test to retrieve a DataAbstractionFacade using the factory.