SPT RWT Application API

com.sptci.rwt
Class ColumnAnalyserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.sptci.rwt.ColumnAnalyserTest
All Implemented Interfaces:
Test

public class ColumnAnalyserTest
extends TestCase

Unit test for the ColumnAnalyser object.

Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: ColumnAnalyserTest.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-09-25

Constructor Summary
ColumnAnalyserTest()
           
 
Method Summary
static Test suite()
           
 void testTableAnalyse()
          Test fetching all columns from the database connection.
 void testTableUpdated()
          Test to ensure that the TableMetaData field TableTypeMetaData.columns was updated with ColumnMetaData information.
 void testViewAnalyse()
          Test fetching all columns from the database connection.
 void testViewUpdated()
          Test to ensure that the ViewMetaData field TableTypeMetaData.columns was updated with ColumnMetaData information.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColumnAnalyserTest

public ColumnAnalyserTest()
Method Detail

suite

public static Test suite()

testTableAnalyse

public void testTableAnalyse()
                      throws Exception
Test fetching all columns from the database connection.

Throws:
Exception

testTableUpdated

public void testTableUpdated()
Test to ensure that the TableMetaData field TableTypeMetaData.columns was updated with ColumnMetaData information.


testViewAnalyse

public void testViewAnalyse()
                     throws Exception
Test fetching all columns from the database connection.

Throws:
Exception

testViewUpdated

public void testViewUpdated()
Test to ensure that the ViewMetaData field TableTypeMetaData.columns was updated with ColumnMetaData information.


SPT RWT Application API