~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to gis/dhis-gis-geostat/mfbase/openlayers/tests/Geometry/Surface.html

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
  <script src="../../lib/OpenLayers.js"></script>
 
4
  <script type="text/javascript">
 
5
 
 
6
    function test_Surface_constructor (t) {
 
7
        t.plan( 2 );
 
8
        
 
9
        var g = new OpenLayers.Geometry.Surface();
 
10
        
 
11
        t.eq(g.CLASS_NAME, "OpenLayers.Geometry.Surface", "correct CLASS_NAME")
 
12
        t.ok(OpenLayers.String.startsWith(g.id, "OpenLayers.Geometry.Surface_"),
 
13
             "id correctly set");
 
14
    }
 
15
 
 
16
 
 
17
 
 
18
  </script>
 
19
</head>
 
20
<body>
 
21
</body>
 
22
</html>