diff --git a/deegree-core/deegree-core-commons/src/main/java/org/deegree/commons/utils/test/IntegrationTestUtils.java b/deegree-core/deegree-core-commons/src/main/java/org/deegree/commons/utils/test/IntegrationTestUtils.java
index a7bdd0ac2a..83cdb18329 100644
--- a/deegree-core/deegree-core-commons/src/main/java/org/deegree/commons/utils/test/IntegrationTestUtils.java
+++ b/deegree-core/deegree-core-commons/src/main/java/org/deegree/commons/utils/test/IntegrationTestUtils.java
@@ -158,8 +158,8 @@ private static void toTempfile( RenderedImage expected, RenderedImage actual, St
Files.write( tempDir.resolve( name + "_actual.png" ), toBytes( actual, "png" ) );
Files.write( tempDir.resolve( name + "_expected.png" ), toBytes( expected, "png" ) );
- System.out.println( "Result returned for " + name + " (base64 -di encoded.dat > failed-test.zip)" );
- System.out.println( toBase64Zip( toBytes( actual, "png" ), name + ".png" ) );
+ LOG.debug( "Result returned for " + name + " (base64 -di encoded.dat > failed-test.zip)" );
+ LOG.debug( toBase64Zip( toBytes( actual, "png" ), name + ".png" ) );
} catch ( Throwable t ) {
}
}
@@ -178,7 +178,7 @@ public static boolean isImageSimilar( RenderedImage expected, RenderedImage actu
String pasteBin = IntegrationTestUtils.toPasteBin( toBytes( actual, "png" ) );
if ( pasteBin != null ) {
- System.out.println( "Actual returned image for " + name + " available at " + pasteBin );
+ LOG.info( "Actual returned image for " + name + " available at " + pasteBin );
}
toTempfile( expected, actual, name );
diff --git a/deegree-tests/deegree-wms-remoteows-tests/pom.xml b/deegree-tests/deegree-wms-remoteows-tests/pom.xml
index 339bec54e1..d13d8ee695 100644
--- a/deegree-tests/deegree-wms-remoteows-tests/pom.xml
+++ b/deegree-tests/deegree-wms-remoteows-tests/pom.xml
@@ -91,6 +91,14 @@
junitjunit
+
+ org.xmlunit
+ xmlunit-core
+
+
+ org.xmlunit
+ xmlunit-matchers
+
diff --git a/deegree-tests/deegree-wms-remoteows-tests/src/test/java/org/deegree/services/wms/RemoteWMSGfiIntegrationTest.java b/deegree-tests/deegree-wms-remoteows-tests/src/test/java/org/deegree/services/wms/RemoteWMSGfiIntegrationTest.java
new file mode 100644
index 0000000000..8dd295d503
--- /dev/null
+++ b/deegree-tests/deegree-wms-remoteows-tests/src/test/java/org/deegree/services/wms/RemoteWMSGfiIntegrationTest.java
@@ -0,0 +1,125 @@
+//$HeadURL$
+/*----------------------------------------------------------------------------
+ This file is part of deegree, http://deegree.org/
+ Copyright (C) 2001-2010 by:
+ - Department of Geography, University of Bonn -
+ and
+ - lat/lon GmbH -
+
+ This library is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the Free
+ Software Foundation; either version 2.1 of the License, or (at your option)
+ any later version.
+ This library is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ details.
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; if not, write to the Free Software Foundation, Inc.,
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+ Contact information:
+
+ lat/lon GmbH
+ Aennchenstr. 19, 53177 Bonn
+ Germany
+ http://lat-lon.de/
+
+ Department of Geography, University of Bonn
+ Prof. Dr. Klaus Greve
+ Postfach 1147, 53001 Bonn
+ Germany
+ http://www.geographie.uni-bonn.de/deegree/
+
+ Occam Labs UG (haftungsbeschränkt)
+ Godesberger Allee 139, 53175 Bonn
+ Germany
+ http://www.occamlabs.de/
+
+ e-mail: info@deegree.org
+ ----------------------------------------------------------------------------*/
+
+package org.deegree.services.wms;
+
+import org.apache.commons.io.IOUtils;
+import org.junit.Ignore;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+import org.slf4j.Logger;
+import org.xmlunit.matchers.CompareMatcher;
+
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
+import static org.deegree.commons.utils.net.HttpUtils.UTF8STRING;
+import static org.deegree.commons.utils.net.HttpUtils.retrieve;
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.slf4j.LoggerFactory.getLogger;
+
+/**
+ * RemoteWMSIntegrationTest
+ *
+ * @author Andreas Schmitz
+ * @author last edited by: $Author: mschneider $
+ * @version $Revision: 31882 $, $Date: 2011-09-15 02:05:04 +0200 (Thu, 15 Sep 2011) $
+ */
+
+@Ignore
+@RunWith(Parameterized.class)
+public class RemoteWMSGfiIntegrationTest {
+
+ private static final Logger LOG = getLogger( RemoteWMSGfiIntegrationTest.class );
+
+ private final String resourceName;
+
+ private final String request;
+
+ private final String expected;
+
+ public RemoteWMSGfiIntegrationTest( String resourceName )
+ throws IOException {
+ this.resourceName = resourceName;
+ this.request = IOUtils.toString(
+ RemoteWMSGfiIntegrationTest.class.getResourceAsStream(
+ "/requests/" + resourceName + ".kvp" ) );
+ this.expected = IOUtils.toString(
+ RemoteWMSGfiIntegrationTest.class.getResourceAsStream(
+ "/requests/" + resourceName + ".xml" ) );
+ }
+
+ @Parameters(name = "{index}: {0}")
+ public static Collection