summaryrefslogtreecommitdiff
path: root/misc/openlayers/tests/Format/WMSCapabilities.html
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openlayers/tests/Format/WMSCapabilities.html')
-rw-r--r--misc/openlayers/tests/Format/WMSCapabilities.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/openlayers/tests/Format/WMSCapabilities.html b/misc/openlayers/tests/Format/WMSCapabilities.html
new file mode 100644
index 0000000..a447bdd
--- /dev/null
+++ b/misc/openlayers/tests/Format/WMSCapabilities.html
@@ -0,0 +1,20 @@
+<html>
+<head>
+ <script src="../OLLoader.js"></script>
+ <script type="text/javascript">
+
+ function test_initialize(t) {
+
+ t.plan(1);
+ var format = new OpenLayers.Format.WMSCapabilities({
+ version: "foo"
+ });
+ t.eq(format.version, "foo", "version set on format");
+
+ }
+
+ </script>
+</head>
+<body>
+</body>
+</html>