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