/[schmitzm]/branches/2.3.x/src_junit/skrueger/geotools/StyledLayerUtilTest.java
ViewVC logotype

Annotation of /branches/2.3.x/src_junit/skrueger/geotools/StyledLayerUtilTest.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1215 - (hide annotations)
Wed Nov 3 11:06:22 2010 UTC (14 years, 3 months ago) by alfonx
Original Path: trunk/src_junit/skrueger/geotools/StyledLayerUtilTest.java
File MIME type: text/plain
File size: 909 byte(s)


1 alfonx 1212 package skrueger.geotools;
2    
3 alfonx 1215 import static org.junit.Assert.assertNotNull;
4     import static org.junit.Assert.assertTrue;
5 alfonx 1212
6 alfonx 1215 import java.awt.image.ColorModel;
7     import java.io.IOException;
8    
9 alfonx 1212 import org.junit.After;
10     import org.junit.Before;
11     import org.junit.Test;
12    
13 alfonx 1215 import schmitzm.swing.TestingUtil;
14    
15 alfonx 1212 public class StyledLayerUtilTest {
16    
17     @Before
18     public void setUp() throws Exception {
19     }
20    
21     @After
22     public void tearDown() throws Exception {
23     }
24    
25     @Test
26 alfonx 1215 public void testGetColorModel() throws IOException {
27     StyledGridCoverageReader styled = TestingUtil.TestDatasetsRaster.geotiffWithSld
28     .getStyled();
29     ColorModel colorModel = StyledLayerUtil.getColorModel(styled);
30     assertNotNull(colorModel);
31 alfonx 1212 }
32    
33     @Test
34 alfonx 1215 public void testIsStyleable() throws IOException {
35     StyledGridCoverageReader styled = TestingUtil.TestDatasetsRaster.geotiffWithSld
36     .getStyled();
37     assertTrue(StyledLayerUtil.isStyleable(styled));
38 alfonx 1212 }
39    
40     }

Properties

Name Value
svn:eol-style native
svn:keywords Id URL
svn:mime-type text/plain

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26