[Schmitzm-commits] r1238 - trunk/src_junit/schmitzm/geotools/styling

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 5 11:12:59 CET 2010


Author: alfonx
Date: 2010-11-05 11:12:58 +0100 (Fri, 05 Nov 2010)
New Revision: 1238

Modified:
   trunk/src_junit/schmitzm/geotools/styling/StylingUtilTest.java
Log:


Modified: trunk/src_junit/schmitzm/geotools/styling/StylingUtilTest.java
===================================================================
--- trunk/src_junit/schmitzm/geotools/styling/StylingUtilTest.java	2010-11-05 10:08:21 UTC (rev 1237)
+++ trunk/src_junit/schmitzm/geotools/styling/StylingUtilTest.java	2010-11-05 10:12:58 UTC (rev 1238)
@@ -128,17 +128,17 @@
 		assertEquals("4.0", colorMapEntries[2].getQuantity().toString());
 	}
 
-	@Test
-	@Ignore
-	public void testParseColormapToSld() throws IOException, TransformerException {
-		URL colormapUrl = StylingUtilTest.class.getResource("gdaloutput.txt");
-		assertNotNull(colormapUrl);
-		ColorMap cm = StylingUtil.parseColormapToSld(colormapUrl);
-		assertEquals(256, cm.getColorMapEntries().length);
-		
-		RasterSymbolizer createRasterSymbolizer = StylingUtil.STYLE_BUILDER.createRasterSymbolizer(cm, 1.0);
-		Style style = StylingUtil.STYLE_BUILDER.createStyle(createRasterSymbolizer);
-		StylingUtil.saveStyleToSld(style, new File("/home/stefan/Desktop/colors.sld"));
-	}
+//	@Test
+//	@Ignore
+//	public void testParseColormapToSld() throws IOException, TransformerException {
+//		URL colormapUrl = StylingUtilTest.class.getResource("gdaloutput.txt");
+//		assertNotNull(colormapUrl);
+//		ColorMap cm = StylingUtil.parseColormapToSld(colormapUrl);
+//		assertEquals(256, cm.getColorMapEntries().length);
+//		
+//		RasterSymbolizer createRasterSymbolizer = StylingUtil.STYLE_BUILDER.createRasterSymbolizer(cm, 1.0);
+//		Style style = StylingUtil.STYLE_BUILDER.createStyle(createRasterSymbolizer);
+//		StylingUtil.saveStyleToSld(style, new File("/home/stefan/Desktop/colors.sld"));
+//	}
 
 }



More information about the Schmitzm-commits mailing list