org.melati.poem.test
Class TableSortedMapTest

Package class diagram package TableSortedMapTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.poem.test.PoemTestCase
              extended by org.melati.poem.test.TableMapTest
                  extended by org.melati.poem.test.TableSortedMapTest
All Implemented Interfaces:
junit.framework.Test

public class TableSortedMapTest
extends TableMapTest

Since:
8 Jun 2007
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
TableSortedMapTest(String name)
           
 
Method Summary
protected  void createObjectsUnderTest()
           
protected  org.melati.poem.TableMap getNoArgObjectUnderTest()
           
protected  org.melati.poem.TableMap getObjectUnderTest()
           
protected  void setUp()
          
protected  void tearDown()
          
 void testComparator()
          Test method for TableSortedMap.comparator().
 void testFirstKey()
          Test method for TableSortedMap.firstKey().
 void testHeadMap()
          Test method for TableSortedMap.headMap(java.lang.Object).
 void testLastKey()
          Test method for TableSortedMap.lastKey().
 void testSubMap()
          Test method for TableSortedMap.subMap(java.lang.Object, java.lang.Object).
 void testTableSortedMap()
          Test method for TableSortedMap.TableSortedMap().
 void testTableSortedMapTable()
          Test method for TableSortedMap.TableSortedMap(org.melati.poem.Table).
 void testTailMap()
          Test method for TableSortedMap.tailMap(java.lang.Object).
 
Methods inherited from class org.melati.poem.test.TableMapTest
testClear, testContainsKey, testContainsValue, testEntrySet, testGet, testGetTable, testIsEmpty, testKeySet, testPut, testPutAll, testRemove, testSetTable, testSize, testTableMap, testTableMapTable, testValues
 
Methods inherited from class org.melati.poem.test.PoemTestCase
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, databaseUnchanged, dropTable, dumpTable, getDatabase, getDatabaseName, getDb, getDb, getName, getOrDie, getProperties, getPropertiesFileName, getUserToRunAs, run, runTest, setDatabaseName, setName, setPropertiesFileName, setUserToRunAs, testNothing
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runBare, 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, 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
 
Methods inherited from interface junit.framework.Test
countTestCases
 

Constructor Detail

TableSortedMapTest

public TableSortedMapTest(String name)
Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class TableMapTest
Throws:
Exception
See Also:
TableMapTest.setUp()

createObjectsUnderTest

protected void createObjectsUnderTest()
Overrides:
createObjectsUnderTest in class TableMapTest

getObjectUnderTest

protected org.melati.poem.TableMap getObjectUnderTest()
Overrides:
getObjectUnderTest in class TableMapTest

getNoArgObjectUnderTest

protected org.melati.poem.TableMap getNoArgObjectUnderTest()
Overrides:
getNoArgObjectUnderTest in class TableMapTest

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class TableMapTest
Throws:
Exception
See Also:
TableMapTest.tearDown()

testTableSortedMap

public void testTableSortedMap()
Test method for TableSortedMap.TableSortedMap().


testTableSortedMapTable

public void testTableSortedMapTable()
Test method for TableSortedMap.TableSortedMap(org.melati.poem.Table).


testComparator

public void testComparator()
Test method for TableSortedMap.comparator().


testFirstKey

public void testFirstKey()
Test method for TableSortedMap.firstKey().


testLastKey

public void testLastKey()
Test method for TableSortedMap.lastKey().


testSubMap

public void testSubMap()
Test method for TableSortedMap.subMap(java.lang.Object, java.lang.Object).


testHeadMap

public void testHeadMap()
Test method for TableSortedMap.headMap(java.lang.Object).


testTailMap

public void testTailMap()
Test method for TableSortedMap.tailMap(java.lang.Object).



Copyright © 2000-2010 PanEris. All Rights Reserved.