SPT RWT Application API

com.sptci.rwt
Class IndexAnalyserTest

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

public class IndexAnalyserTest
extends TestCase

Unit test for the IndexAnalyser object.

Copyright 2007 Sans Pareil Technologies, Inc.

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

Constructor Summary
IndexAnalyserTest()
           
 
Method Summary
static Test suite()
           
 void testAnalyse()
          Test fetching all columns from the database connection.
 void testMultipleColumns()
          Test to ensure that the IndexMetaData created for testing has multiple columns.
 void testTableUpdated()
          Test to ensure that the TableMetaData.indices field was updated with IndexMetaData 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

IndexAnalyserTest

public IndexAnalyserTest()
Method Detail

suite

public static Test suite()

testAnalyse

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

Throws:
Exception

testTableUpdated

public void testTableUpdated()
Test to ensure that the TableMetaData.indices field was updated with IndexMetaData information.


testMultipleColumns

public void testMultipleColumns()
Test to ensure that the IndexMetaData created for testing has multiple columns.


SPT RWT Application API