Batch merge for rc2 of 2.7. 'svn merge -r7967:HEAD from trunk (Closes #1733) (Closes #1489) (Closes #1639) (Closes #1718) (Closes #1723) (Closes #1732) (Closes #1616) (Closes #1722)

git-svn-id: http://svn.openlayers.org/branches/openlayers/2.7@8012 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2008-09-12 17:24:20 +00:00
parent a43e98762c
commit f7f338e265
51 changed files with 7219 additions and 90 deletions

23
tests/Protocol/SQL.html Normal file
View File

@@ -0,0 +1,23 @@
<html>
<head>
<script src="../../lib/OpenLayers.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>