OpenLayers OpenLayers

Changeset 6724

Show
Ignore:
Timestamp:
03/31/08 01:31:28 (5 months ago)
Author:
euzuro
Message:

fix up tests, remove _01_. (Closes #1387)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/BaseTypes.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55 
    6     function test_01_String_startsWith(t) { 
     6    function test_String_startsWith(t) { 
    77        t.plan(3); 
    88         
     
    2020    } 
    2121     
    22     function test_02_String_contains(t) { 
     22    function test_String_contains(t) { 
    2323        t.plan(4); 
    2424         
     
    3535    } 
    3636     
    37     function test_03_String_trim(t) { 
     37    function test_String_trim(t) { 
    3838        t.plan(5); 
    3939         
     
    5858    } 
    5959         
    60     function test_05_String_camelize(t) { 
     60    function test_String_camelize(t) { 
    6161        t.plan(7); 
    6262         
     
    144144    
    145145    
    146     function test_06_Number_limitSigDigs(t) { 
     146    function test_Number_limitSigDigs(t) { 
    147147        t.plan(9); 
    148148       
     
    182182    } 
    183183 
    184     function test_07_Function_bind(t) { 
     184    function test_Function_bind(t) { 
    185185        t.plan(12); 
    186186 
     
    207207    } 
    208208 
    209     function test_08_Function_bindAsEventListener(t) { 
     209    function test_Function_bindAsEventListener(t) { 
    210210        t.plan(4); 
    211211 
  • trunk/openlayers/tests/BaseTypes/Bounds.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var bounds;  
    6     function test_01_Bounds_constructor (t) { 
     6    function test_Bounds_constructor (t) { 
    77        t.plan( 17 ); 
    88         
     
    3939    } 
    4040 
    41     function test_01a_Bounds_constructorFromStrings(t) { 
     41    function test_Bounds_constructorFromStrings(t) { 
    4242        t.plan( 6 ); 
    4343        bounds = new OpenLayers.Bounds("0","2","10","4"); 
     
    5151    } 
    5252 
    53     function test_02_Bounds_toBBOX(t) { 
     53    function test_Bounds_toBBOX(t) { 
    5454        t.plan( 5 ); 
    5555        bounds = new OpenLayers.Bounds(1,2,3,4); 
     
    6666    } 
    6767 
    68     function test_03_Bounds_toString(t) { 
     68    function test_Bounds_toString(t) { 
    6969        t.plan( 1 ); 
    7070        bounds = new OpenLayers.Bounds(1,2,3,4); 
     
    102102    } 
    103103 
    104     function test_04_Bounds_contains(t) { 
     104    function test_Bounds_contains(t) { 
    105105        t.plan( 6 ); 
    106106        bounds = new OpenLayers.Bounds(10,10,40,40); 
     
    118118    } 
    119119 
    120     function test_05_Bounds_fromString(t) { 
     120    function test_Bounds_fromString(t) { 
    121121       t.plan( 10 ); 
    122122       bounds = OpenLayers.Bounds.fromString("1,2,3,4"); 
     
    136136    } 
    137137 
    138     function test_06_Bounds_getSize(t) { 
     138    function test_Bounds_getSize(t) { 
    139139        t.plan( 1 ); 
    140140        var bounds = new OpenLayers.Bounds(0,10,100,120); 
     
    143143    } 
    144144     
    145     function test_07_Bounds_clone(t) { 
     145    function test_Bounds_clone(t) { 
    146146       t.plan( 6 ); 
    147147       var oldBounds = new OpenLayers.Bounds(1,2,3,4); 
     
    157157    } 
    158158 
    159     function test_08a_Bounds_intersectsBounds(t) { 
     159    function test_Bounds_intersectsBounds(t) { 
    160160        t.plan( 17 ); 
    161161 
     
    197197    } 
    198198     
    199     function test_08b_Bounds_containsBounds(t) { 
     199    function test_Bounds_containsBounds(t) { 
    200200        t.plan( 35 ); 
    201201        containerBounds = new OpenLayers.Bounds(10,10,40,40); 
     
    252252    } 
    253253     
    254     function test_09_Bounds_determineQuadrant(t) { 
     254    function test_Bounds_determineQuadrant(t) { 
    255255 
    256256       t.plan( 4 ); 
     
    268268    } 
    269269 
    270     function test_10_Bounds_oppositeQuadrant(t) { 
     270    function test_Bounds_oppositeQuadrant(t) { 
    271271 
    272272       t.plan( 4 ); 
     
    278278    } 
    279279 
    280     function test_11_Bounds_equals(t) { 
     280    function test_Bounds_equals(t) { 
    281281        t.plan( 3 ); 
    282282        var boundsA = new OpenLayers.Bounds(1,2,3,4); 
     
    289289    } 
    290290 
    291     function test_12_Bounds_getHeight_getWidth(t) { 
     291    function test_Bounds_getHeight_getWidth(t) { 
    292292        t.plan( 2 ); 
    293293        var bounds = new OpenLayers.Bounds(10,20,100,120); 
     
    298298    } 
    299299 
    300     function test_13_Bounds_getCenters(t) { 
     300    function test_Bounds_getCenters(t) { 
    301301        t.plan( 2 ); 
    302302        var bounds = new OpenLayers.Bounds(0,20,100,120); 
     
    306306    } 
    307307 
    308     function test_14_Bounds_fromArray(t) { 
     308    function test_Bounds_fromArray(t) { 
    309309       t.plan( 5 ); 
    310310        
     
    318318    } 
    319319 
    320     function test_15_Bounds_fromSize(t) { 
     320    function test_Bounds_fromSize(t) { 
    321321       t.plan( 5 ); 
    322322        
     
    333333 
    334334 
    335     function test_16_Bounds_extend(t) { 
     335    function test_Bounds_extend(t) { 
    336336        t.plan( 9 ); 
    337337     
     
    430430      
    431431      
    432     function test_16_Bounds_wrapDateLine(t) { 
     432    function test_Bounds_wrapDateLine(t) { 
    433433        t.plan( 13 ); 
    434434         
     
    531531    } 
    532532 
    533     function test_17_Bounds_add(t) { 
     533    function test_Bounds_add(t) { 
    534534        t.plan( 8 ); 
    535535 
  • trunk/openlayers/tests/BaseTypes/Class.html

    r6719 r6724  
    168168 
    169169    // Remove this at 3.0 
    170     function test_01_Class_create (t) { 
     170    function test_Class_create (t) { 
    171171        t.plan( 3 ); 
    172172        var cls = OpenLayers.Class.create(); 
     
    190190 
    191191    // Remove this at 3.0 
    192     function test_02_Class_inherit (t) { 
     192    function test_Class_inherit (t) { 
    193193        t.plan( 20 ); 
    194194        var A = OpenLayers.Class.create(); 
  • trunk/openlayers/tests/BaseTypes/Element.html

    r6720 r6724  
    66    <script type="text/javascript"> 
    77 
    8     function test_01_Element_visible(t) { 
     8    function test_Element_visible(t) { 
    99        t.plan(3); 
    1010         
     
    2525    } 
    2626     
    27     function test_02_Element_toggle(t) { 
     27    function test_Element_toggle(t) { 
    2828        t.plan(2); 
    2929 
     
    4646    } 
    4747     
    48     function test_03_Element_hide(t) { 
     48    function test_Element_hide(t) { 
    4949        t.plan(2); 
    5050 
     
    6767    } 
    6868     
    69     function test_04_Element_show(t) { 
     69    function test_Element_show(t) { 
    7070        t.plan(2); 
    7171 
     
    8888    } 
    8989     
    90     function test_05_Element_remove(t) { 
     90    function test_Element_remove(t) { 
    9191        t.plan(1); 
    9292 
     
    101101    } 
    102102     
    103     function test_06_Element_getHeight(t) { 
     103    function test_Element_getHeight(t) { 
    104104        t.plan(1); 
    105105 
     
    111111    } 
    112112     
    113     function test_07_Element_getDimensions(t) { 
     113    function test_Element_getDimensions(t) { 
    114114        t.plan(4); 
    115115         
     
    137137    }     
    138138 
    139     function test_08_Element_getStyle(t) { 
     139    function test_Element_getStyle(t) { 
    140140        t.plan(4); 
    141141 
  • trunk/openlayers/tests/BaseTypes/LonLat.html

    r6719 r6724  
    66    var lonlat;  
    77 
    8     function test_01_LonLat_constructor (t) { 
     8    function test_LonLat_constructor (t) { 
    99        t.plan( 4 ); 
    1010        lonlat = new OpenLayers.LonLat(6, 5); 
     
    1515    } 
    1616     
    17     function test_01a_LonLat_constructorFromStrings (t) { 
     17    function test_LonLat_constructorFromStrings (t) { 
    1818        t.plan( 4 ); 
    1919        lonlat = new OpenLayers.LonLat("6", "5"); 
     
    2424    } 
    2525 
    26     function test_02_LonLat_toString(t) { 
     26    function test_LonLat_toString(t) { 
    2727        t.plan( 1 ); 
    2828        lonlat = new OpenLayers.LonLat(5,6); 
     
    3030    } 
    3131 
    32     function test_02A_LonLat_toShortString(t) { 
     32    function test_LonLat_toShortString(t) { 
    3333        t.plan( 1 ); 
    3434        lonlat = new OpenLayers.LonLat(5,6); 
     
    3636    } 
    3737 
    38     function test_03_LonLat_clone(t) { 
     38    function test_LonLat_clone(t) { 
    3939        t.plan( 3 ); 
    4040        oldLonLat = new OpenLayers.LonLat(5,6); 
     
    4747    } 
    4848 
    49     function test_04_LonLat_add(t) { 
     49    function test_LonLat_add(t) { 
    5050        t.plan( 8 ); 
    5151 
     
    7474    } 
    7575     
    76     function test_06_LonLat_equals(t) { 
     76    function test_LonLat_equals(t) { 
    7777        t.plan( 5 ); 
    7878        lonlat = new OpenLayers.LonLat(5,6); 
     
    9494    } 
    9595 
    96     function test_07_LonLat_fromString(t) { 
     96    function test_LonLat_fromString(t) { 
    9797        t.plan( 2 ); 
    9898        lonlat = OpenLayers.LonLat.fromString("6,5"); 
     
    117117    } 
    118118     
    119     function test_08_LonLat_wrapDateLine(t) { 
     119    function test_LonLat_wrapDateLine(t) { 
    120120        t.plan( 6 ); 
    121121 
  • trunk/openlayers/tests/BaseTypes/Pixel.html

    r6719 r6724  
    55    var pixel;  
    66     
    7     function test_01_Pixel_constructor (t) { 
     7    function test_Pixel_constructor (t) { 
    88        t.plan( 4 ); 
    99        pixel = new OpenLayers.Pixel(5,6); 
     
    1414    } 
    1515 
    16     function test_01a_Pixel_constructorFromString (t) { 
     16    function test_Pixel_constructorFromString (t) { 
    1717        t.plan( 4 ); 
    1818        pixel = new OpenLayers.Pixel("5","6"); 
     
    2323    } 
    2424 
    25     function test_02_Pixel_toString(t) { 
     25    function test_Pixel_toString(t) { 
    2626        t.plan( 1 ); 
    2727        pixel = new OpenLayers.Pixel(5,6); 
     
    2929    } 
    3030 
    31     function test_03_Pixel_clone(t) { 
     31    function test_Pixel_clone(t) { 
    3232        t.plan( 4 ); 
    3333        oldPixel = new OpenLayers.Pixel(5,6); 
     
    4141    } 
    4242 
    43     function test_06_Pixel_equals(t) { 
     43    function test_Pixel_equals(t) { 
    4444        t.plan( 5 ); 
    4545        pixel = new OpenLayers.Pixel(5,6); 
     
    6161    } 
    6262 
    63     function test_07_Pixel_add(t) { 
     63    function test_Pixel_add(t) { 
    6464        t.plan( 8 ); 
    6565 
     
    8989    } 
    9090 
    91     function test_08_Pixel_offset(t) { 
     91    function test_Pixel_offset(t) { 
    9292        t.plan( 4 ); 
    9393 
  • trunk/openlayers/tests/BaseTypes/Size.html

    r6719 r6724  
    55    var Size;  
    66     
    7     function test_01_Size_constructor (t) { 
     7    function test_Size_constructor (t) { 
    88        t.plan( 4 ); 
    99        size = new OpenLayers.Size(5,6); 
     
    1414    } 
    1515 
    16     function test_01a_Size_constructorFromString (t) { 
     16    function test_Size_constructorFromString (t) { 
    1717        t.plan( 4 ); 
    1818        size = new OpenLayers.Size("5","6"); 
     
    2323    } 
    2424     
    25     function test_02_Size_toString(t) { 
     25    function test_Size_toString(t) { 
    2626        t.plan( 1 ); 
    2727        size = new OpenLayers.Size(5,6); 
     
    2929    } 
    3030 
    31     function test_03_Size_clone(t) { 
     31    function test_Size_clone(t) { 
    3232        t.plan( 3 ); 
    3333 
     
    4141    } 
    4242 
    43      function test_04_Size_equals(t) { 
     43     function test_Size_equals(t) { 
    4444        t.plan( 5 ); 
    4545        size = new OpenLayers.Size(5,6); 
  • trunk/openlayers/tests/Control/Attribution.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var map;  
    6     function test_01_Control_Attribution_constructor (t) { 
     6    function test_Control_Attribution_constructor (t) { 
    77        t.plan( 2 ); 
    88     
  • trunk/openlayers/tests/Control/KeyboardDefaults.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var map;  
    6     function test_01_Control_KeyboardDefaults_constructor (t) { 
     6    function test_Control_KeyboardDefaults_constructor (t) { 
    77        t.plan( 2 ); 
    88     
     
    1313    } 
    1414 
    15     function test_02_Control_KeyboardDefaults_addControl (t) { 
     15    function test_Control_KeyboardDefaults_addControl (t) { 
    1616        t.plan( 4 ); 
    1717 
     
    2727    } 
    2828 
    29     function test_03_Control_KeyboardDefaults_KeyDownEvent (t) { 
     29    function test_Control_KeyboardDefaults_KeyDownEvent (t) { 
    3030        t.plan( 10 ); 
    3131 
  • trunk/openlayers/tests/Control/LayerSwitcher.html

    r6719 r6724  
    55    var map;  
    66 
    7     function test_01_Control_LayerSwitcher_constructor (t) { 
     7    function test_Control_LayerSwitcher_constructor (t) { 
    88        t.plan( 2 ); 
    99     
     
    1313    } 
    1414 
    15     function test_02_Control_LayerSwitcher_draw (t) { 
     15    function test_Control_LayerSwitcher_draw (t) { 
    1616        t.plan( 2 ); 
    1717 
     
    3636    } 
    3737  
    38     function test_03_Control_LayerSwitcher_loadContents(t) { 
     38    function test_Control_LayerSwitcher_loadContents(t) { 
    3939 
    4040        t.plan( 5 ); 
     
    6464 
    6565 
    66     function test_04_Control_LayerSwitcher_redraw (t) { 
     66    function test_Control_LayerSwitcher_redraw (t) { 
    6767 
    6868        t.plan( (OpenLayers.Util.getBrowserName() == "opera" ? 9 : 19 ) ); 
     
    136136 
    137137    } 
    138     function test_05_Control_LayerSwitcher_ascendingw (t) { 
     138    function test_Control_LayerSwitcher_ascendingw (t) { 
    139139 
    140140        t.plan( 4 ); 
  • trunk/openlayers/tests/Control/MousePosition.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var map, control;  
    6     function test_01_Control_MousePosition_constructor (t) { 
     6    function test_Control_MousePosition_constructor (t) { 
    77        t.plan( 2 ); 
    88     
     
    1111        t.eq( control.displayClass,  "olControlMousePosition", "displayClass is correct" ); 
    1212    } 
    13     function test_02_Control_MousePosition_redraw_noLayer_displayProjection(t) { 
     13    function test_Control_MousePosition_redraw_noLayer_displayProjection(t) { 
    1414        t.plan(2); 
    1515        control = new OpenLayers.Control.MousePosition({'displayProjection': new OpenLayers.Projection("WGS84")}); 
     
    5454    } 
    5555 
    56     function test_02_Control_MousePosition_redraw_noLayer_displayProjection(t) { 
     56    function test_Control_MousePosition_redraw_noLayer_displayProjection(t) { 
    5757        t.plan(3); 
    5858        var control = new OpenLayers.Control.MousePosition(); 
  • trunk/openlayers/tests/Control/MouseToolbar.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var map;  
    6     function test_01_Control_MouseToolbar_constructor (t) { 
     6    function test_Control_MouseToolbar_constructor (t) { 
    77        t.plan( 1 ); 
    88     
     
    1010        t.ok( control instanceof OpenLayers.Control.MouseToolbar, "new OpenLayers.Control.MouseToolbar returns object" ); 
    1111    } 
    12     function test_02_Control_MouseToolbar_addControl (t) { 
     12    function test_Control_MouseToolbar_addControl (t) { 
    1313        t.plan( 8 ); 
    1414        map = new OpenLayers.Map('map'); 
     
    2525 
    2626    } 
    27     function test_03_Control_MouseToolbar_control_events (t) { 
     27    function test_Control_MouseToolbar_control_events (t) { 
    2828        t.plan( 1 ); 
    2929        if ((navigator.userAgent.indexOf("compatible") == -1)) {  
  • trunk/openlayers/tests/Control/NavToolbar.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var map;  
    6     function test_01_Control_NavToolbar_constructor (t) { 
     6    function test_Control_NavToolbar_constructor (t) { 
    77        t.plan( 4 ); 
    88        control = new OpenLayers.Control.NavToolbar(); 
     
    1212        t.ok( control.controls[1] instanceof OpenLayers.Control.ZoomBox, "NavToolbar contains Control.ZoomBox object" ); 
    1313    } 
    14     function test_02_Control_NavToolbar_addControl (t) { 
     14    function test_Control_NavToolbar_addControl (t) { 
    1515        t.plan( 6 ); 
    1616        map = new OpenLayers.Map('map'); 
  • trunk/openlayers/tests/Control/PanZoom.html

    r6722 r6724  
    44  <script type="text/javascript"> 
    55    var map;  
    6     function test_01_Control_PanZoom_constructor (t) { 
     6    function test_Control_PanZoom_constructor (t) { 
    77        t.plan( 4 ); 
    88     
     
    1414        t.eq( control.position.y, 100, "PanZoom y Set correctly.");  
    1515    } 
    16     function test_02_Control_PanZoom_addControl (t) { 
     16    function test_Control_PanZoom_addControl (t) { 
    1717        t.plan( 8 ); 
    1818        map = new OpenLayers.Map('map'); 
     
    3232    } 
    3333 
    34     function test_03_Control_PanZoom_control_events (t) { 
     34    function test_Control_PanZoom_control_events (t) { 
    3535 
    3636        if ( !window.document.createEvent || OpenLayers.Util.getBrowserName() == "opera") { 
  • trunk/openlayers/tests/Control/PanZoomBar.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var map;  
    6     function test_01_Control_PanZoomBar_constructor (t) { 
     6    function test_Control_PanZoomBar_constructor (t) { 
    77        t.plan( 4 ); 
    88     
     
    1313        t.eq( control.position.y, 100, "PanZoom y Set correctly.");  
    1414    } 
    15     function test_02_Control_PanZoomBar_addControl (t) { 
     15    function test_Control_PanZoomBar_addControl (t) { 
    1616        t.plan( 8 ); 
    1717        map = new OpenLayers.Map('map', {controls:[]}); 
  • trunk/openlayers/tests/Control/Panel.html

    r6719 r6724  
    1010        t.eq( control.displayClass,  "olControlPanel", "displayClass is correct" ); 
    1111    } 
    12     function test_01_Control_Panel_constructor (t) { 
     12    function test_Control_Panel_constructor (t) { 
    1313        t.plan(5); 
    1414        var map = new OpenLayers.Map('map'); 
     
    4747              "activated the other tool control, the first one is inactive and the toggle control still active."); 
    4848    } 
    49     function test_02_Control_Panel_titles (t) {  
     49    function test_Control_Panel_titles (t) {  
    5050        t.plan(2);  
    5151        var panel = new OpenLayers.Control.Panel();  
  • trunk/openlayers/tests/Control/Permalink.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var map;  
    6     function test_01_Control_Permalink_constructor (t) { 
     6    function test_Control_Permalink_constructor (t) { 
    77        t.plan( 2 ); 
    88     
     
    2020        t.ok(true, "permalink didn't bomb out."); 
    2121    }    
    22     function test_02_Control_Permalink_initwithelem (t) { 
     22    function test_Control_Permalink_initwithelem (t) { 
    2323        t.plan( 1 ); 
    2424     
     
    2626        t.ok(true, "If the above line doesn't throw an error, we're safe.");  
    2727    } 
    28     function test_02_Control_Permalink_updateLinks (t) { 
     28    function test_Control_Permalink_updateLinks (t) { 
    2929        t.plan( 3 ); 
    3030     
     
    4646        t.ok(OpenLayers.Util.isEquivalentUrl(OpenLayers.Util.getElement('permalink').href, location+"?zoom=2&lat=0&lon=1.75781&layers=BF"), 'setVisibility sets permalink'); 
    4747    } 
    48     function test_03_Control_Permalink_updateLinksBase (t) { 
     48    function test_Control_Permalink_updateLinksBase (t) { 
    4949        t.plan( 2 ); 
    5050     
     
    6060        t.eq(OpenLayers.Util.getElement('permalink').href, OpenLayers.Util.getElement('edit_permalink').href, "Panning sets permalink with base"); 
    6161  } 
    62   function test_04_Control_Permalink_noElement (t) { 
     62  function test_Control_Permalink_noElement (t) { 
    6363        t.plan( 2 ); 
    6464        control = new OpenLayers.Control.Permalink( ); 
     
    6868        t.eq(map.controls[4].div.firstChild.nodeName, "A", "Permalink control creates div with 'a' inside." ); 
    6969  } 
    70   function test_05_Control_Permalink_base_with_query (t) { 
     70  function test_Control_Permalink_base_with_query (t) { 
    7171      t.plan( 3 ); 
    7272   
     
    9595  } 
    9696 
    97     function test_06_Control_Permalink_nonRepeating (t) { 
     97    function test_Control_Permalink_nonRepeating (t) { 
    9898        t.plan( 2 ); 
    9999     
  • trunk/openlayers/tests/Control/Scale.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55    var map;  
    6     function test_01_Control_Scale_constructor (t) { 
     6    function test_Control_Scale_constructor (t) { 
    77        t.plan( 2 ); 
    88     
     
    1111        t.eq( control.displayClass,  "olControlScale", "displayClass is correct" ); 
    1212    } 
    13     function test_02_Control_Scale_initwithelem (t) { 
     13    function test_Control_Scale_initwithelem (t) { 
    1414        t.plan( 1 ); 
    1515     
     
    1717        t.ok(true, "If this happens, then we passed. (FF throws an error above otherwise)"); 
    1818    } 
    19     function test_02_Control_Scale_updateScale (t) { 
     19    function test_Control_Scale_updateScale (t) { 
    2020        t.plan( 4 ); 
    2121     
     
    3434        t.eq(OpenLayers.Util.getElement('scale').innerHTML, "Scale = 1 : 110", "Scale of 100 isn't rounded"  ); 
    3535    } 
    36     function test_03_Control_Scale_internalScale (t) { 
     36    function test_Control_Scale_internalScale (t) { 
    3737        t.plan(2); 
    3838        control = new OpenLayers.Control.Scale(); 
  • trunk/openlayers/tests/Events.html

    r6719 r6724  
    77    var a; 
    88     
    9     function test_01_Events_constructor (t) { 
     9    function test_Events_constructor (t) { 
    1010        var mapDiv = OpenLayers.Util.getElement('map'); 
    1111        var obj = {result: 0}; 
     
    4141    } 
    4242 
    43     function test_02_Events_register_unregister(t) { 
     43    function test_Events_register_unregister(t) { 
    4444  
    4545        t.plan( 18 ); 
     
    124124    } 
    125125 
    126     function test_03_Events_remove(t) { 
     126    function test_Events_remove(t) { 
    127127 
    128128        t.plan( 2 ); 
     
    151151    } 
    152152 
    153     function test_04_Events_triggerEvent(t) { 
     153    function test_Events_triggerEvent(t) { 
    154154     
    155155        t.plan(13); 
     
    252252    } 
    253253 
    254     function test_05_Events_destroy (t) { 
     254    function test_Events_destroy (t) { 
    255255        t.plan(2); 
    256256 
     
    270270    } 
    271271     
    272     function test_06_Event(t) { 
     272    function test_Event(t) { 
    273273        t.plan(24); 
    274274         
     
    354354    } 
    355355 
    356     function test_06_Events_addEventType(t) { 
     356    function test_Events_addEventType(t) { 
    357357 
    358358        t.plan( 6 ); 
  • trunk/openlayers/tests/Feature.html

    r6719 r6724  
    77    var feature, layer;  
    88     
    9     function test_01_Feature_constructor (t) { 
     9    function test_Feature_constructor (t) { 
    1010        t.plan( 7 ); 
    1111 
     
    3030    } 
    3131     
    32     function test_02_Feature_createPopup (t) { 
     32    function test_Feature_createPopup (t) { 
    3333        t.plan(1); 
    3434        var layer = {}; 
     
    4747        t.eq(popup.contentDiv.style[prop], "auto", 'overflow on popup is correct'); 
    4848    }     
    49     function test_02_Feature_createMarker (t) { 
     49    function test_Feature_createMarker (t) { 
    5050        t.plan(1); 
    5151        t.ok(true); 
     
    9797    } 
    9898     
    99     function test_03_Feature_onScreen(t) { 
     99    function test_Feature_onScreen(t) { 
    100100        t.plan( 2 ); 
    101101 
     
    123123    } 
    124124 
    125     function test_04_Feature_createPopup(t) { 
     125    function test_Feature_createPopup(t) { 
    126126        t.plan(11); 
    127127 
     
    177177    } 
    178178 
    179     function test_04_Feature_destroyPopup(t) { 
     179    function test_Feature_destroyPopup(t) { 
    180180        t.plan(2); 
    181181 
  • trunk/openlayers/tests/Format.html

    r6719 r6724  
    44  <script type="text/javascript"> 
    55 
    6     function test_01_Format_constructor(t) { 
     6    function test_Format_constructor(t) { 
    77        t.plan(4); 
    88     
  • trunk/openlayers/tests/Geometry.html

    r6719