Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enableit.db.daf
Class JdbcDafTest  view JdbcDafTest download JdbcDafTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.enableit.db.daf.JdbcDafTest
All Implemented Interfaces:
junit.framework.Test

public class JdbcDafTest
extends junit.framework.TestCase

Tests ...


Field Summary
private static TaskBean bean
           
private static TaskBean existingBean
           
private static org.apache.log4j.Category logger
          Define a static Category variable for logging.
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JdbcDafTest(java.lang.String name)
          Default Constructor
 
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.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

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
Constructor Detail

JdbcDafTest

public JdbcDafTest(java.lang.String name)
Default Constructor

Method Detail

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.