Package org.mapfish.print

Examples of org.mapfish.print.TestHttpClientFactory


    @Test
    public void testVersion1StyleParser() throws Throwable {
        PJsonObject layerJson = parseJSONObjectFromFile(MapfishJsonStyleParserPluginTest.class,
                "bug_cant_transform_to_xml.json");

        Optional<Style> style = parser.parseStyle(null, new TestHttpClientFactory(), layerJson.getString("style"),
                null);
        assertTrue(style.isPresent());

        transformer.transform(style.get()); // assert it can be converted to SLD
    }
View Full Code Here


    }
    @Test
    public void testVersion1() throws Throwable {
        PJsonObject layerJson = parseJSONObjectFromFile(MapfishJsonStyleParserPluginTest.class,
                REQUEST_DATA_STYLE_JSON_V1_STYLE_JSON);
        Optional<Style> style = parser.parseStyle(null, new TestHttpClientFactory(), layerJson.getString("style"),
                null);
        assertTrue(style.isPresent());

        transformer.transform(style.get()); // assert it can be converted to SLD
View Full Code Here

TOP

Related Classes of org.mapfish.print.TestHttpClientFactory

Copyright © 2018 www.massapicom. 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.