Revision: 1709 http://svn.sourceforge.net/spring-rich-c/?rev=1709&view=rev Author: mathiasbr Date: 2007-02-07 05:22:52 -0800 (Wed, 07 Feb 2007)
Log Message: ----------- disable test if running in a headless environment Modified Paths: -------------- trunk/spring-richclient/support/src/test/java/org/springframework/richclient/form/builder/support/DirtyIndicatorInterceptorTests.java Modified: trunk/spring-richclient/support/src/test/java/org/springframework/richclient/form/builder/support/DirtyIndicatorInterceptorTests.java =================================================================== --- trunk/spring-richclient/support/src/test/java/org/springframework/richclient/form/builder/support/DirtyIndicatorInterceptorTests.java 2007-02-07 10:42:05 UTC (rev 1708) +++ trunk/spring-richclient/support/src/test/java/org/springframework/richclient/form/builder/support/DirtyIndicatorInterceptorTests.java 2007-02-07 13:22:52 UTC (rev 1709) @@ -15,6 +15,7 @@ */ package org.springframework.richclient.form.builder.support; +import java.awt.GraphicsEnvironment; import java.util.Locale; import javax.swing.JComponent; @@ -37,7 +38,13 @@ * @author Peter De Bruycker */ public class DirtyIndicatorInterceptorTests extends SpringRichTestCase { + /** + * FIXME: this test will not run in a headless environment + */ public void testProcessComponent() throws InterruptedException { + if (GraphicsEnvironment.isHeadless()) { + return; + } TestBean bean = new TestBean(); bean.setProperty("original value"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ spring-rich-c-cvs mailing list spring-rich-c-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs