Add base control panel test class.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3370 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
18
tests/Control/test_Panel.html
Normal file
18
tests/Control/test_Panel.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
var map;
|
||||
function test_Control_Panel_constructor (t) {
|
||||
t.plan( 1 );
|
||||
|
||||
control = new OpenLayers.Control.Panel();
|
||||
t.ok( control instanceof OpenLayers.Control.Panel, "new OpenLayers.Control returns object" );
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="map" style="width: 1024px; height: 512px;"/>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user