Exemplo n.º 1
0
 @Test
 public void testClassBreaks() throws Exception {
   Renderer renderer = parseAndConvertToRenderer("earthquakes.sld");
   assertTrue(renderer.toString(), renderer instanceof ClassBreaksRenderer);
   renderer = parseAndConvertToRenderer("hnd_bridges_graduated.sld");
   assertTrue(renderer.toString(), renderer instanceof ClassBreaksRenderer);
 }
Exemplo n.º 2
0
 @Test
 public void testUniqueValues() throws Exception {
   Renderer renderer = parseAndConvertToRenderer("hnd_cemeteries_categorized.sld");
   assertTrue(renderer.toString(), renderer instanceof UniqueValueRenderer);
 }