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

Quick Search    Search Deep

org.enableit.db.darrt
Class DDLFactoryTest  view DDLFactoryTest download DDLFactoryTest.java

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

public class DDLFactoryTest
extends junit.framework.TestCase

Tests DDLFactory's SQL creation capability without actually running the SQL against a database.


Field Summary
private static org.apache.log4j.Logger logger
          Define a static Logger variable for logging.
private static org.enableit.db.darrt.schema.Table refTable
          Reference table definition.
private static org.enableit.db.darrt.schema.Table tTable
          Target table definition.
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DDLFactoryTest(java.lang.String name)
          Default Constructor
 
Method Summary
 void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
          Defines all the tests for the Web Service application including tests in this class.
 void testInstallAlterTest()
          Run alter table test.
 void testInstallCreateTest()
          Run install new table test.
 
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

refTable

private static org.enableit.db.darrt.schema.Table refTable
Reference table definition.


tTable

private static org.enableit.db.darrt.schema.Table tTable
Target table definition.


logger

private static org.apache.log4j.Logger logger
Define a static Logger variable for logging.

Constructor Detail

DDLFactoryTest

public DDLFactoryTest(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

public void setUp()
           throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


testInstallCreateTest

public void testInstallCreateTest()
                           throws java.lang.Exception
Run install new table test.


testInstallAlterTest

public void testInstallAlterTest()
                          throws java.lang.Exception
Run alter table test.