summaryrefslogtreecommitdiff
path: root/misc/openlayers/tests/OpenLayers1.html
blob: 1d96be349f66bebb44f9a77236456908a7c8d944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
    <script src="../lib/OpenLayers.js"></script>
    <script type="text/javascript">
        function test_OpenLayers(t) {
            t.plan(3);

            t.eq(OpenLayers._getScriptLocation(), "../", "Script location correctly detected.");
            
            t.ok(OpenLayers.ImgPath !== undefined, "An ImgPath property exists.");
            
            t.eq(OpenLayers.ImgPath, '', "The default for OpenLayers.ImgPath is the empty string.");
        }
    </script>
</head>
<body>
</body>
</html>