Since we've now completed all the work that is including new tests in 2.6, move

tests around. (See #1387) 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@6710 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-03-31 01:57:38 +00:00
parent 7a7ab7109b
commit 02bbd43687
116 changed files with 0 additions and 0 deletions
-22
View File
@@ -1,22 +0,0 @@
<html>
<head>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
function test_01_Format_constructor(t) {
t.plan(4);
var options = {'foo': 'bar'};
var format = new OpenLayers.Format(options);
t.ok(format instanceof OpenLayers.Format,
"new OpenLayers.Format returns object" );
t.eq(format.foo, "bar", "constructor sets options correctly");
t.eq(typeof format.read, "function", "format has a read function");
t.eq(typeof format.write, "function", "format has a write function");
}
</script>
</head>
<body>
</body>
</html>