SPT RWT Application API

com.sptci.rwt
Class ViewAnalyserTest

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

public class ViewAnalyserTest
extends TestCase

Unit test for the ViewAnalyser object.

Copyright 2007 Sans Pareil Technologies, Inc.

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

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

ViewAnalyserTest

public ViewAnalyserTest()
Method Detail

suite

public static Test suite()

testAnalyse

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

Throws:
Exception

testSchemaUpdated

public void testSchemaUpdated()
Test that the ViewMetaData were added to RootMetaData.views.


SPT RWT Application API