Expresso 5-5-0

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

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.DBIndexTest
All Implemented Interfaces:
junit.framework.Test

public class DBIndexTest
extends ExpressoTestCase

Test to make sure that index sql is getting created properyl

Version:
$Revision: 1.8 $ $Date: 2003/06/03 06:12:14 $
Author:
Michael Rimov

Constructor Summary
DBIndexTest(String testName)
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
          Define the suite of tests that verify each function of the cache
 void testBadInputs()
           
 void testNonUniqueIndex()
           
 void testUniqueIndex()
           
 
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

DBIndexTest

public DBIndexTest(String testName)
            throws Exception
Method Detail

main

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

suite

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

Returns:
an appropriate Test Suite to be run.
Throws:
Exception - if there's an error constructing the class

testUniqueIndex

public void testUniqueIndex()
                     throws Exception
Throws:
Exception

testNonUniqueIndex

public void testNonUniqueIndex()
                        throws Exception
Throws:
Exception

testBadInputs

public void testBadInputs()

Expresso 5-5-0

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