fix up tests, remove _01_. (Closes #1387)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6724 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<script src="../../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript">
|
||||
var map;
|
||||
function test_01_Control_NavToolbar_constructor (t) {
|
||||
function test_Control_NavToolbar_constructor (t) {
|
||||
t.plan( 4 );
|
||||
control = new OpenLayers.Control.NavToolbar();
|
||||
t.ok( control instanceof OpenLayers.Control.NavToolbar, "new OpenLayers.Control.NavToolbar returns object" );
|
||||
@@ -11,7 +11,7 @@
|
||||
t.ok( control.controls[0] instanceof OpenLayers.Control.Navigation, "NavToolbar contains Control.Navigation object" );
|
||||
t.ok( control.controls[1] instanceof OpenLayers.Control.ZoomBox, "NavToolbar contains Control.ZoomBox object" );
|
||||
}
|
||||
function test_02_Control_NavToolbar_addControl (t) {
|
||||
function test_Control_NavToolbar_addControl (t) {
|
||||
t.plan( 6 );
|
||||
map = new OpenLayers.Map('map');
|
||||
control = new OpenLayers.Control.NavToolbar();
|
||||
|
||||
Reference in New Issue
Block a user