OpenLayers OpenLayers

root/branches/openlayers/2.5/tests/test_Control.html

Revision 4059, 430 bytes (checked in by tschaub, 1 year ago)

removing HTML comment wrapping scripts - these haven't been necessary since Netscape 2.0 - if your browser doesn't run javsacript, please don't run these tests

  • Property svn:eol-style set to native
Line 
1 <html>
2 <head>
3   <script src="../lib/OpenLayers.js"></script>
4   <script type="text/javascript">
5     var map;
6     function test_01_Control_constructor (t) {
7         t.plan( 1 );
8    
9         control = new OpenLayers.Control();
10         t.ok( control instanceof OpenLayers.Control, "new OpenLayers.Control returns object" );
11     }
12
13   </script>
14 </head>
15 <body>
16     <div id="map" style="width: 1024px; height: 512px;"/>
17 </body>
18 </html>
Note: See TracBrowser for help on using the browser.