blob: 8d5c0364fae1232b40485aa1f558937f62f3f130 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<html>
<head>
<script src="../OLLoader.js"></script>
<script type="text/javascript">
function test_Control_Button_constructor (t) {
t.plan( 2 );
control = new OpenLayers.Control.Button();
t.ok( control instanceof OpenLayers.Control.Button, "new OpenLayers.Control returns object" );
t.eq( control.displayClass, "olControlButton", "displayClass is correct" );
}
</script>
</head>
<body>
</body>
</html>
|