Expresso 5-5-0

com.jcorporate.expresso.core.dbobj.tests
Class OtherDBTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.jcorporate.expresso.core.dbobj.tests.OtherDBTest
All Implemented Interfaces:
junit.framework.Test

public class OtherDBTest
extends junit.framework.TestCase

A test case to verify the functions of "other" DB mapping capabilities in Expresso


Constructor Summary
OtherDBTest(String name)
          Constructs a test case with the given name.
 
Method Summary
 int countTestCases()
          Counts the number of test cases executed by run(TestResult result).
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
          Define the suite of tests that verify each function of the cache
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testAdd()
          Test verifying the object
 
Methods inherited from class junit.framework.TestCase
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

OtherDBTest

public OtherDBTest(String name)
Constructs a test case with the given name.

Parameters:
name -
Method Detail

countTestCases

public int countTestCases()
Counts the number of test cases executed by run(TestResult result).

Returns:

setUp

protected void setUp()
              throws Exception
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

Throws:
Exception

testAdd

public void testAdd()
Test verifying the object


suite

public static junit.framework.Test suite()
Define the suite of tests that verify each function of the cache

Returns:

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.