[Schmitzm-commits] r1357 - trunk/src_junit/schmitzm/geotools/gui

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Dec 20 01:52:42 CET 2010


Author: alfonx
Date: 2010-12-20 01:52:42 +0100 (Mon, 20 Dec 2010)
New Revision: 1357

Modified:
   trunk/src_junit/schmitzm/geotools/gui/XMapPaneTest.java
Log:
Fixed a test: !schmitzm.swing.TestingUtil.isInteractive()) return;

Modified: trunk/src_junit/schmitzm/geotools/gui/XMapPaneTest.java
===================================================================
--- trunk/src_junit/schmitzm/geotools/gui/XMapPaneTest.java	2010-12-20 00:46:12 UTC (rev 1356)
+++ trunk/src_junit/schmitzm/geotools/gui/XMapPaneTest.java	2010-12-20 00:52:42 UTC (rev 1357)
@@ -97,6 +97,9 @@
 	@Test
 	public void testScaleDenominatorToScale() throws Throwable {
 
+		if (!schmitzm.swing.TestingUtil.isInteractive())
+			return;
+
 		FeatureSource<SimpleFeatureType, SimpleFeature> fs = schmitzm.swing.TestingUtil.TestDatasetsVector.countryShp
 				.getFeatureSource();
 



More information about the Schmitzm-commits mailing list