Revision: 1679 http://svn.sourceforge.net/spring-rich-c/?rev=1679&view=rev Author: kevinstembridge Date: 2007-01-18 07:33:13 -0800 (Thu, 18 Jan 2007)
Log Message: ----------- Now extends new AbstractBaseTableModelTests Modified Paths: -------------- trunk/spring-richclient/support/src/test/java/org/springframework/richclient/table/ListTableModelTests.java Modified: trunk/spring-richclient/support/src/test/java/org/springframework/richclient/table/ListTableModelTests.java =================================================================== --- trunk/spring-richclient/support/src/test/java/org/springframework/richclient/table/ListTableModelTests.java 2007-01-18 15:32:13 UTC (rev 1678) +++ trunk/spring-richclient/support/src/test/java/org/springframework/richclient/table/ListTableModelTests.java 2007-01-18 15:33:13 UTC (rev 1679) @@ -4,14 +4,33 @@ import java.util.Arrays; import java.util.List; -import junit.framework.TestCase; - /** * @author peter.de.bruycker */ -public class ListTableModelTests extends TestCase { +public class ListTableModelTests extends AbstractBaseTableModelTests { + + + private final ListTableModel dummyListTableModel = new ListTableModel() { + protected Class[] createColumnClasses() { + return new Class[] { String.class }; + } + + protected String[] createColumnNames() { + return new String[] { "column" }; + } + + + }; + /** + * [EMAIL PROTECTED] + */ + protected BaseTableModel getBaseTableModel() { + return this.dummyListTableModel; + } + + /** * TestCase for bug #RCP-14 */ public void testConstructorThrowsNullPointerException() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ spring-rich-c-cvs mailing list spring-rich-c-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs