Expresso 5-5-0

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

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

public class AutoDBObjTest
extends ExpressoTestCase

Quick sanity check to make sure that the AutoDBObject is working properly

Version:
$Revision: 1.12 $ on $Date: 2004/02/11 06:14:07 $
Author:
Michael Rimov

Constructor Summary
AutoDBObjTest(String name)
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
          Creates the test cases.
 void testAutoDBObject()
          Quick sanity check.
 
Methods inherited from class com.jcorporate.expresso.services.test.ExpressoTestCase
getLog, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, 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

AutoDBObjTest

public AutoDBObjTest(String name)
              throws Exception
Method Detail

main

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

suite

public static junit.framework.Test suite()
                                  throws Exception
Creates the test cases. Order is important, thus the manual creation.

Throws:
Exception

testAutoDBObject

public void testAutoDBObject()
                      throws Exception
Quick sanity check. This was originally adapted from the unitTest function that no longer exists within AutoDBOBject itself. This unit test will fail if AutoDBObject tests against a DBOBject with virtual fields in it.

Throws:
Exception

Expresso 5-5-0

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