[OpenLayers-Commits] r6006 - trunk/openlayers/tests/Control
commits at openlayers.org
commits at openlayers.org
Wed Feb 6 14:46:22 EST 2008
Author: tschaub
Date: 2008-02-06 14:46:22 -0500 (Wed, 06 Feb 2008)
New Revision: 6006
Modified:
trunk/openlayers/tests/Control/test_OverviewMap.html
Log:
Just because I had it open and was looking at 952, I'm shortening test names. (see #952)
Modified: trunk/openlayers/tests/Control/test_OverviewMap.html
===================================================================
--- trunk/openlayers/tests/Control/test_OverviewMap.html 2008-02-06 16:00:55 UTC (rev 6005)
+++ trunk/openlayers/tests/Control/test_OverviewMap.html 2008-02-06 19:46:22 UTC (rev 6006)
@@ -3,14 +3,14 @@
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript">
var map;
- function test_01_Control_OverviewMap_constructor (t) {
+ function test_initialize(t) {
t.plan( 2 );
control = new OpenLayers.Control.OverviewMap();
t.ok( control instanceof OpenLayers.Control.OverviewMap, "new OpenLayers.Control.OverviewMap returns object" );
t.eq( control.displayClass, "olControlOverviewMap", "displayClass is correct" );
}
- function test_02_Control_OverviewMap_addControl (t) {
+ function test_addControl (t) {
t.plan( 6 );
map = new OpenLayers.Map('map');
control = new OpenLayers.Control.OverviewMap();
@@ -24,7 +24,7 @@
map.destroy();
}
- function test_03_Control_OverviewMap_control_events (t) {
+ function test_control_events (t) {
t.plan( 10 );
var evt = {which: 1}; // control expects left-click
map = new OpenLayers.Map('map');
More information about the Commits
mailing list