Package org.geoserver.catalog

Examples of org.geoserver.catalog.WMSLayerInfo.prefixedName()


public class DecoratingWMSLayerInfoTest extends TestCase {
    public void testPrefixName() {
        // build up the mock
        WMSLayerInfo li = createNiceMock(WMSLayerInfo.class);
   
        expect(li.prefixedName()).andReturn("PREFIX");
        replay(li);
   
        DecoratingWMSLayerInfo ro = new DecoratingWMSLayerInfo(li);
        assertEquals("PREFIX", ro.prefixedName());
    }
View Full Code Here


                        }
                    }
                }
                if (!merged) {
                    WMSLayer Layer = new WMSLayer(wms, gt2Layer);
                    Layer.setTitle(wmsLayer.prefixedName());
                    mapContent.addLayer(Layer);
                }
            } else {
                throw new IllegalArgumentException("Unkown layer type " + layerType);
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.