Revision: 1693 http://svn.sourceforge.net/spring-rich-c/?rev=1693&view=rev Author: jhoskens Date: 2007-01-25 05:12:20 -0800 (Thu, 25 Jan 2007)
Log Message: ----------- create dialog once and reuse. Modified Paths: -------------- trunk/spring-richclient/support/src/test/java/org/springframework/richclient/dialog/InputApplicationDialogTests.java Modified: trunk/spring-richclient/support/src/test/java/org/springframework/richclient/dialog/InputApplicationDialogTests.java =================================================================== --- trunk/spring-richclient/support/src/test/java/org/springframework/richclient/dialog/InputApplicationDialogTests.java 2007-01-25 13:10:47 UTC (rev 1692) +++ trunk/spring-richclient/support/src/test/java/org/springframework/richclient/dialog/InputApplicationDialogTests.java 2007-01-25 13:12:20 UTC (rev 1693) @@ -36,10 +36,11 @@ } public void testInitialEnabledState() { - assertEnabledStateReflectsFormModelState(createDialog(businessObject, BUSINESS_FIELD)); + InputApplicationDialog createDialog = createDialog(businessObject, BUSINESS_FIELD); + assertEnabledStateReflectsFormModelState(createDialog); businessObject.setName("test"); - assertEnabledStateReflectsFormModelState(createDialog(businessObject, BUSINESS_FIELD)); + assertEnabledStateReflectsFormModelState(createDialog); } private void assertEnabledStateReflectsFormModelState(InputApplicationDialog dialog) { 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