summaryrefslogtreecommitdiff
path: root/misc/openlayers/tests/Format/WMTSCapabilities.html
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openlayers/tests/Format/WMTSCapabilities.html')
-rw-r--r--misc/openlayers/tests/Format/WMTSCapabilities.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/openlayers/tests/Format/WMTSCapabilities.html b/misc/openlayers/tests/Format/WMTSCapabilities.html
new file mode 100644
index 0000000..e7a51a3
--- /dev/null
+++ b/misc/openlayers/tests/Format/WMTSCapabilities.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.WMTSCapabilities({
+ version: "foo"
+ });
+ t.eq(format.version, "foo", "version set on format");
+
+ }
+
+ </script>
+</head>
+<body>
+</body>
+</html>