source: ether_iasi/trunk/web/resources/js/OpenLayers-2.12/tests/Control/Button.html @ 738

Last change on this file since 738 was 738, checked in by vmipsl, 11 years ago

OpenLayers?

File size: 478 bytes
Line 
1<html>
2<head>
3    <script src="../OLLoader.js"></script>
4    <script type="text/javascript">
5      function test_Control_Button_constructor (t) {
6          t.plan( 2 );
7     
8          control = new OpenLayers.Control.Button();
9          t.ok( control instanceof OpenLayers.Control.Button, "new OpenLayers.Control returns object" );
10          t.eq( control.displayClass, "olControlButton", "displayClass is correct" );
11      }
12   
13    </script>
14</head>
15<body>
16</body>
17</html>
Note: See TracBrowser for help on using the repository browser.