Skip to content

Commit

Permalink
deegree#1246 (#8673) - enabled RemoteWMSIntegrationTest, removed unus…
Browse files Browse the repository at this point in the history
…ed code
  • Loading branch information
lgoltz committed Dec 20, 2022
1 parent f0a4840 commit 0f244f5
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Occam Labs UG (haftungsbeschränkt)
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;
Expand All @@ -51,8 +50,6 @@ Occam Labs UG (haftungsbeschränkt)

import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.awt.image.RenderedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
Expand All @@ -73,13 +70,10 @@ Occam Labs UG (haftungsbeschränkt)
*/

@RunWith(Parameterized.class)
@Ignore
public class RemoteWMSIntegrationTest {

private static final Logger LOG = getLogger( RemoteWMSIntegrationTest.class );

private static int numFailed = 0;

private final String resourceName;

private final String request;
Expand Down Expand Up @@ -136,13 +130,4 @@ private String createRequest() {
sb.append( request );
return sb.toString();
}

private byte[] parseAsBytes( RenderedImage actual )
throws IOException {
ByteArrayOutputStream bosActual = new ByteArrayOutputStream();
ImageIO.write( actual, "png", bosActual );
bosActual.flush();
bosActual.close();
return bosActual.toByteArray();
}
}

0 comments on commit 0f244f5

Please sign in to comment.