Sha256: 5ddb793e234b5d68143a599e94009d053fa50964151449b5c134df6ef224af09

Contents?: true

Size: 658 Bytes

Versions: 5

Compression:

Stored size: 658 Bytes

Contents

<html>
<head>
  <script src="../OLLoader.js"></script>
  <script type="text/javascript">

    function test_initialize(t) {
        t.plan(3);
        var options = {tableName: 'my_features', 
                       databaseName: 'my_database_name'}
        var protocol = new OpenLayers.Protocol.SQL(options);

        t.ok(protocol instanceof OpenLayers.Protocol.SQL,
             "new OpenLayers.Protocol.SQL returns object");

        t.eq(protocol.tableName, options.tableName, "tableName property is set");
        t.eq(protocol.databaseName, options.databaseName, "databaseName property is set");
    }
    
  </script>
</head>
<body>
</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gb_mapfish_appserver-0.0.5 vendor/assets/javascripts/openlayers/tests/Protocol/SQL.html
gb_mapfish_appserver-0.0.4 vendor/assets/javascripts/openlayers/tests/Protocol/SQL.html
gb_mapfish_appserver-0.0.3 vendor/assets/javascripts/openlayers/tests/Protocol/SQL.html
gb_mapfish_appserver-0.0.2 vendor/assets/javascripts/openlayers/tests/Protocol/SQL.html
gb_mapfish_appserver-0.0.1 vendor/assets/javascripts/openlayers/tests/Protocol/SQL.html