]> dev.renevier.net Git - syp.git/blob - openlayers/tests/Format/WFST.html
initial commit
[syp.git] / openlayers / tests / Format / WFST.html
1 <html>
2 <head>
3   <script src="../../lib/OpenLayers.js"></script>
4   <script type="text/javascript">
5
6     function test_initialize(t) {
7         t.plan(2);
8
9         var format = new OpenLayers.Format.WFST();
10         t.ok(format instanceof OpenLayers.Format.WFST.v1_0_0, "constructor returns instance with default versioned format");
11
12         format = new OpenLayers.Format.WFST({
13             version: "1.1.0"
14         });
15         t.ok(format instanceof OpenLayers.Format.WFST.v1_1_0, "constructor returns instance with custom versioned format");
16     }
17
18   </script>
19 </head>
20 <body>
21 <div id="map" style="width:512px; height:256px"> </div>
22 </body>
23 </html>