edu.jas.poly
Class RelationTableTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.jas.poly.RelationTableTest
All Implemented Interfaces:
junit.framework.Test

public class RelationTableTest
extends junit.framework.TestCase

RelationTable Test using JUnit


Field Summary
(package private)  RelationTable table
           
 
Constructor Summary
RelationTableTest(java.lang.String name)
          Constructs a RelationTableTest object.
 
Method Summary
static void main(java.lang.String[] args)
          main
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testConstructor()
          Test constructor and toString
 void testLookupKeys()
          Test lookup keys
 void testLookupOneKey()
          Test lookup one key
 void testSymmetric()
          Test lookup symmetric products
 void testUpdateKeys()
          Test update more keys
 void testUpdateOneKey()
          Test update one key
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

table

RelationTable table
Constructor Detail

RelationTableTest

public RelationTableTest(java.lang.String name)
Constructs a RelationTableTest object.

Parameters:
name - String
Method Detail

main

public static void main(java.lang.String[] args)
main


suite

public static junit.framework.Test suite()

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testConstructor

public void testConstructor()
Test constructor and toString


testUpdateOneKey

public void testUpdateOneKey()
Test update one key


testUpdateKeys

public void testUpdateKeys()
Test update more keys


testLookupOneKey

public void testLookupOneKey()
Test lookup one key


testLookupKeys

public void testLookupKeys()
Test lookup keys


testSymmetric

public void testSymmetric()
Test lookup symmetric products