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

Quick Search    Search Deep

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

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

public class CastorJdoDafTest
extends junit.framework.TestCase

Tests ...


Field Summary
private static TaskForm2 bean
           
private static TaskForm2 existingBean
           
private static org.apache.log4j.Category logger
          Define a static Category variable for logging.
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
CastorJdoDafTest(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 testInitFromResource()
          Run a test to configure the Data Abstraction Factory from a resource.
 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 TaskForm2 bean

existingBean

private static TaskForm2 existingBean
Constructor Detail

CastorJdoDafTest

public CastorJdoDafTest(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.


testInitFromResource

public void testInitFromResource()
Run a test to configure the Data Abstraction Factory from a resource.


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.