Test for r137, event constructor with null EventTypes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@138 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -33,6 +33,11 @@
|
|||||||
events.triggerEvent("doThingA");
|
events.triggerEvent("doThingA");
|
||||||
t.eq( obj.result, 2, "result is 2 after we call triggerEvent with no event" );
|
t.eq( obj.result, 2, "result is 2 after we call triggerEvent with no event" );
|
||||||
}
|
}
|
||||||
|
function test_02_Events_nullEventTypes (t) {
|
||||||
|
t.plan(1);
|
||||||
|
events = new OpenLayers.Events(null, $('map'), null);
|
||||||
|
t.ok( events.listeners, "Creation of Events with null Event Types is okay" );
|
||||||
|
}
|
||||||
// -->
|
// -->
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user