java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.enableit.db.daf.JdbcDafTest
- All Implemented Interfaces:
- junit.framework.Test
- public class JdbcDafTest
- 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 |
testCreate()
Run a test to create a Bean using the DataAbstractionFacade and its factory. |
void |
testLoad()
Run a test to retrieve a Bean using the DataAbstractionFacade and its factory. |
void |
testModify()
Run a test to update a Bean using the DataAbstractionFacade and its factory. |
void |
testRemove()
Run a test to delete a Bean using the DataAbstractionFacade and its factory. |
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.
bean
private static TaskBean bean
existingBean
private static TaskBean existingBean
JdbcDafTest
public JdbcDafTest(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.
testCreate
public void testCreate()
- Run a test to create a Bean using the DataAbstractionFacade and its factory.
testModify
public void testModify()
- Run a test to update a Bean using the DataAbstractionFacade and its factory.
testLoad
public void testLoad()
- Run a test to retrieve a Bean using the DataAbstractionFacade and its factory.
testRemove
public void testRemove()
- Run a test to delete a Bean using the DataAbstractionFacade and its factory.