Sha256: 7acbc3915df8e74870e0c8b1ac5d0aa708391380b668fa27b933e0b1f494904b

Contents?: true

Size: 1000 Bytes

Versions: 12

Compression:

Stored size: 1000 Bytes

Contents

<html>
<head>
    <script src="../../OLLoader.js"></script>
    <script src="v1_0_0.js"></script>
    <script type="text/javascript">

    function test_read(t) {

        t.plan(7);

        var format = new OpenLayers.Format.WPSCapabilities();
        var obj = format.read(doc);

        t.eq(obj.version, "1.0.0", "Version parsed correctly");

        t.eq(obj.languages.length, 2, "2 language entries parsed");
        t.eq(obj.languages[0].isDefault, true, "First language is the default language");
        t.eq(obj.languages[0].language, "en-US", "First language is US English");

        var buffer = obj.processOfferings["JTS:buffer"];
        t.eq(buffer.processVersion, "1.0.0", "processVersion for buffer is 1.0.0");
        t.eq(buffer.abstract, "Buffers a geometry using a certain distance", "Buffer abstract correctly read");
        t.eq(buffer.title, "Buffers a geometry using a certain distance", "Buffer title correctly read");
    }

    </script>
</head>
<body>
</body>
</html>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
postrunner-0.0.10 misc/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
postrunner-0.0.9 misc/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
postrunner-0.0.8 misc/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
postrunner-0.0.7 misc/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
postrunner-0.0.6 misc/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
postrunner-0.0.5 misc/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
postrunner-0.0.4 misc/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
gb_mapfish_appserver-0.0.5 vendor/assets/javascripts/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
gb_mapfish_appserver-0.0.4 vendor/assets/javascripts/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
gb_mapfish_appserver-0.0.3 vendor/assets/javascripts/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
gb_mapfish_appserver-0.0.2 vendor/assets/javascripts/openlayers/tests/Format/WPSCapabilities/v1_0_0.html
gb_mapfish_appserver-0.0.1 vendor/assets/javascripts/openlayers/tests/Format/WPSCapabilities/v1_0_0.html