OpenLayers OpenLayers

Changeset 2802

Show
Ignore:
Timestamp:
03/16/07 01:52:59 (2 years ago)
Author:
crschmidt
Message:

Add tests for more new classes. These tests are only useful to ensure that
the files actually parse correctly, nad to make it easy for users to add tests
for these classes in the future.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector-2.4/tests/list-tests.html

    r2777 r2802  
    2121    <li>test_Popup.html</li> 
    2222    <li>test_Feature.html</li> 
     23    <li>Feature/test_Vector.html</li> 
    2324    <li>test_Events.html</li> 
    2425    <li>test_Util.html</li> 
     
    3940    <li>Layer/test_TMS.html</li> 
    4041    <li>Layer/test_Vector.html</li> 
     42    <li>Layer/test_GML.html</li> 
    4143    <li>test_Tile.html</li> 
    4244    <li>Tile/test_Image.html</li> 
  • sandbox/vector-2.4/tests/test_Renderer.html

    r2621 r2802  
    66var layer; 
    77     
    8 /** THIS TEST NEEDS TO BE FIXED  
    9  *  
    10  *  
     8 
    119    function test_01_Renderer_drawGeometry(t) { 
     10        t.plan(1);  
     11        var r = new OpenLayers.Renderer(); 
     12        t.ok( r instanceof OpenLayers.Renderer, "new OpenLayers.Renderer returns REnderer object" ); 
     13    } 
     14/*  
     15function test_01_Renderer_drawGeometry(t) { 
    1216        t.plan(12);  
    1317 
    1418        var r = new OpenLayers.Renderer(); 
     19        r.root = document.body; 
    1520        r.setStyle = function() {}; 
    1621         
     
    152157 
    153158    } 
    154  *  
    155  */     
     159     */ 
    156160  // --> 
    157161  </script>