OpenLayers OpenLayers
Show
Ignore:
Timestamp:
09/08/08 17:31:39 (4 months ago)
Author:
tschaub
Message:

Adding readers and writers properties to xml formats. These will contain public functions used in serializing and deserializing various formats. Shorthand methods for calling these readers & writers are writeNode and readNode. r=ahocever (closes #1722)

Files:

Legend:

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

    r6724 r7982  
    55 
    66    function test_Format_constructor(t) { 
    7         t.plan(4); 
     7        t.plan(5); 
    88     
    99        var options = {'foo': 'bar'}; 
     
    1414        t.eq(typeof format.read, "function", "format has a read function"); 
    1515        t.eq(typeof format.write, "function", "format has a write function"); 
     16        t.eq(format.options, options, "format.options correctly set"); 
    1617    } 
    1718