Expresso 5-5-0

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

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

public class MultiDBObjectTest
extends junit.framework.TestCase

A test case to verify the functions of DBObject


Constructor Summary
MultiDBObjectTest(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).
static void main(String[] args)
           
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 testMulti()
          Test adding/updating, etc
 
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

MultiDBObjectTest

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

Parameters:
name - name of the test
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

countTestCases

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

Returns:
1

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

testMulti

public void testMulti()
Test adding/updating, etc


suite

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

Returns:
an instantiated TestSuite for this class

Expresso 5-5-0

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