From 709710e5cfd050c21d4e60b8963b8c31f3f90a4f Mon Sep 17 00:00:00 2001 From: iserge Date: Sun, 17 Apr 2016 19:41:10 +0300 Subject: [PATCH] Test for new functional --- .../encoder/coverage/GSImageMosaicEncoderTest.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/test/java/it/geosolutions/geoserver/rest/encoder/coverage/GSImageMosaicEncoderTest.java b/src/test/java/it/geosolutions/geoserver/rest/encoder/coverage/GSImageMosaicEncoderTest.java index 6847b904..98a25827 100644 --- a/src/test/java/it/geosolutions/geoserver/rest/encoder/coverage/GSImageMosaicEncoderTest.java +++ b/src/test/java/it/geosolutions/geoserver/rest/encoder/coverage/GSImageMosaicEncoderTest.java @@ -64,6 +64,17 @@ public void testAll() { LOGGER.info(encoder.toString()); encoder.addSUGGESTED_TILE_SIZE("512,512"); - + + encoder.setInputTransparentColor("#FFFFFF"); + Assert.isTrue(encoder.getInputTransparentColor().equalsIgnoreCase("#FFFFFF")); + + encoder.setOutputTransparentColor("#000000"); + Assert.isTrue(encoder.getOutputTransparentColor().equalsIgnoreCase("#000000")); + + encoder.setAccurateResolutionComputation(true); + Assert.isTrue(encoder.getAccurateResolutionComputation()); + + encoder.setFootprintBehavior("None"); + Assert.isTrue(encoder.getFootprintBehavior().equalsIgnoreCase("None")); } }