SPT RWT Application API

com.sptci.rwt
Class PrimaryKeyAnalyserTest

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

public class PrimaryKeyAnalyserTest
extends TestCase

Unit test for the PrimaryKeyAnalyser object.

Copyright 2007 Sans Pareil Technologies, Inc.

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

Constructor Summary
PrimaryKeyAnalyserTest()
           
 
Method Summary
static Test suite()
           
 void testAnalyse()
          Test fetching all columns from the database connection.
 void testTableUpdated()
          Test to ensure that the TableMetaData.primaryKey field was updated with PrimaryKeyMetaData 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

PrimaryKeyAnalyserTest

public PrimaryKeyAnalyserTest()
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.primaryKey field was updated with PrimaryKeyMetaData information.


SPT RWT Application API