org.springframework.richclient.settings.support
Class TableMementoTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.richclient.settings.support.TableMementoTests
All Implemented Interfaces:
junit.framework.Test

public class TableMementoTests
extends junit.framework.TestCase

Author:
Peter De Bruycker

Constructor Summary
TableMementoTests()
           
 
Method Summary
protected  void setUp()
           
 void testConstructor()
           
 void testRestoreColumnOrder()
          Still got a bug in it.
 void testRestoreColumnOrderWithIllegalSettingsString()
           
 void testRestoreColumnOrderWithIncorrectColumnCount()
           
 void testRestoreColumnWidths()
           
 void testRestoreColumnWidthsWithIllegalSettingsString()
           
 void testRestoreColumnWidthsWithIncorrectColumnCount()
           
 void testSaveColumnOrder()
           
 void testSaveColumnWidths()
           
 void testSaveSelectionRowsWithOneInterval()
           
 void testSaveSelectionRowsWithoutOneRow()
           
 void testSaveSelectionRowsWithoutSelection()
           
 void testSaveSelectionRowsWithoutTwoRows()
           
 void testSaveSelectionRowsWithTwoIntervals()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

TableMementoTests

public TableMementoTests()
Method Detail

testSaveSelectionRowsWithoutSelection

public void testSaveSelectionRowsWithoutSelection()

testSaveSelectionRowsWithoutOneRow

public void testSaveSelectionRowsWithoutOneRow()

testSaveSelectionRowsWithoutTwoRows

public void testSaveSelectionRowsWithoutTwoRows()

testSaveSelectionRowsWithOneInterval

public void testSaveSelectionRowsWithOneInterval()

testSaveSelectionRowsWithTwoIntervals

public void testSaveSelectionRowsWithTwoIntervals()

testSaveColumnWidths

public void testSaveColumnWidths()

testRestoreColumnWidths

public void testRestoreColumnWidths()

testRestoreColumnWidthsWithIncorrectColumnCount

public void testRestoreColumnWidthsWithIncorrectColumnCount()

testRestoreColumnWidthsWithIllegalSettingsString

public void testRestoreColumnWidthsWithIllegalSettingsString()

testSaveColumnOrder

public void testSaveColumnOrder()

testRestoreColumnOrderWithIncorrectColumnCount

public void testRestoreColumnOrderWithIncorrectColumnCount()

testRestoreColumnOrder

public void testRestoreColumnOrder()
Still got a bug in it. This was tested under jdk1.3.1 and it worked :-(, switched to jdk1.4.2, and it fails


testRestoreColumnOrderWithIllegalSettingsString

public void testRestoreColumnOrderWithIllegalSettingsString()

setUp

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

testConstructor

public void testConstructor()


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.