Added basic tests for Map, Layer, and Control base classes.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@14 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-05-12 22:31:14 +00:00
parent 50caed2d35
commit ab312e867d
4 changed files with 81 additions and 0 deletions

18
tests/test_Control.html Normal file
View File

@@ -0,0 +1,18 @@
<html>
<head>
<script src="../lib/OpenLayers.js"></script>
<script language="text/javascript"><!--
var map;
function test_01_Control_constructor (t) {
t.plan( 1 );
control = new OpenLayers.Control();
t.ok( control instanceof OpenLayers.Control, "new OpenLayers.Control returns object" );
}
// -->
</script>
</head>
<body>
<div id="map" style="width: 1024px; height: 512px;"/>
</body>
</html>