]> dev.renevier.net Git - syp.git/blob - openlayers/tests/Control/Button.html
initial commit
[syp.git] / openlayers / tests / Control / Button.html
1 <html>
2 <head>
3     <script src="../../lib/OpenLayers.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>