update tests for newly added events.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@265 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-22 16:20:24 +00:00
parent 0fd94a3f21
commit 7c564bf17c

View File

@@ -4,7 +4,7 @@
<script type="text/javascript"><!--
var map;
function test_01_Events_constructor (t) {
t.plan( 18 );
t.plan( 21 );
var obj = {result: 0}, eventTypes = ["doThingA", "doThingB", "doThingC"];
events = new OpenLayers.Events(obj, $('map'), eventTypes);
t.ok( events instanceof OpenLayers.Events, "new OpenLayers.Control returns object" );