removing HTML comment wrapping scripts - these haven't been necessary since Netscape 2.0 - if your browser doesn't run javsacript, please don't run these tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4059 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map, control, layer;
|
||||
|
||||
function init_map() {
|
||||
@@ -72,7 +72,7 @@
|
||||
t.ok(true, "clicking without moving the mouse does not call setCenter");
|
||||
}
|
||||
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
function test_01_Control_KeyboardDefaults_constructor (t) {
|
||||
t.plan( 2 );
|
||||
@@ -99,7 +99,7 @@
|
||||
);
|
||||
}
|
||||
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
|
||||
function test_01_Control_LayerSwitcher_constructor (t) {
|
||||
@@ -142,7 +142,7 @@
|
||||
}
|
||||
|
||||
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
function test_01_Control_MouseToolbar_constructor (t) {
|
||||
t.plan( 1 );
|
||||
@@ -50,7 +50,7 @@
|
||||
t.ok(true, "IE does not run this test.")
|
||||
}
|
||||
}
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
function test_01_Control_NavToolbar_constructor (t) {
|
||||
t.plan( 4 );
|
||||
@@ -25,7 +25,7 @@
|
||||
// t.eq( control.div.style.top, "6px", "Control div top located correctly by default");
|
||||
|
||||
}
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
function test_01_Control_OverviewMap_constructor (t) {
|
||||
t.plan( 2 );
|
||||
@@ -69,7 +69,7 @@
|
||||
map.destroy();
|
||||
|
||||
}
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
function test_01_Control_PanZoom_constructor (t) {
|
||||
t.plan( 4 );
|
||||
@@ -153,7 +153,7 @@
|
||||
mapper.setCenter(centerLL, 5);
|
||||
}
|
||||
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="loader()">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
function test_01_Control_PanZoomBar_constructor (t) {
|
||||
t.plan( 4 );
|
||||
@@ -33,7 +33,7 @@
|
||||
map.addControl(control2, new OpenLayers.Pixel(100,100));
|
||||
t.eq( control2.div.style.top, "100px", "2nd control div is located correctly");
|
||||
}
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
function test_Control_Panel_constructor (t) {
|
||||
t.plan( 2 );
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
t.ok(!toolControl.active && anotherToolControl.active && toggleControl.active,
|
||||
"activated the other tool control, the first one is inactive and the toggle control still active.");
|
||||
}
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
function test_01_Control_Permalink_constructor (t) {
|
||||
t.plan( 2 );
|
||||
@@ -71,7 +71,7 @@
|
||||
t.eq(OpenLayers.Util.getElement('permalink').href, OpenLayers.Util.getElement('edit_permalink').href, "Panning sets permalink with base and querystring ending with '?'");
|
||||
|
||||
}
|
||||
// -->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user