SPT RWT Application API

com.sptci.rwt
Class TableAnalyserTest

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

public class TableAnalyserTest
extends TestCase

Unit test for the TableAnalyser object.

Copyright 2007 Sans Pareil Technologies, Inc.

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

Field Summary
(package private) static TableMetaData metadata
           
 
Constructor Summary
TableAnalyserTest()
           
 
Method Summary
static Test suite()
           
 void testAnalyse()
          Test fetching all tables from the database connection.
 void testSchemaUpdated()
          Test that the TableMetaData were added to RootMetaData.tables.
 
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
 

Field Detail

metadata

static TableMetaData metadata
Constructor Detail

TableAnalyserTest

public TableAnalyserTest()
Method Detail

suite

public static Test suite()

testAnalyse

public void testAnalyse()
                 throws Exception
Test fetching all tables from the database connection.

Throws:
Exception

testSchemaUpdated

public void testSchemaUpdated()
Test that the TableMetaData were added to RootMetaData.tables.


SPT RWT Application API