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:
+10
-10
@@ -4,7 +4,7 @@
|
||||
<script type="text/javascript">
|
||||
var layer;
|
||||
|
||||
function test_01_Layer_constructor (t) {
|
||||
function test_Layer_constructor (t) {
|
||||
t.plan( 15 );
|
||||
|
||||
var options = { chicken: 151, foo: "bar", projection: "none" };
|
||||
@@ -35,7 +35,7 @@
|
||||
t.ok( layer.options instanceof Object, "layer.options correctly initialized as a non-null Object" );
|
||||
}
|
||||
|
||||
function test_02_Layer_clone (t) {
|
||||
function test_Layer_clone (t) {
|
||||
t.plan( 8 );
|
||||
|
||||
var mapone = new OpenLayers.Map('map');
|
||||
@@ -68,7 +68,7 @@
|
||||
maptwo.destroy();
|
||||
}
|
||||
|
||||
function test_03_Layer_setName (t) {
|
||||
function test_Layer_setName (t) {
|
||||
|
||||
t.plan( 1 );
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
}
|
||||
|
||||
function test_04_Layer_addOptions (t) {
|
||||
function test_Layer_addOptions (t) {
|
||||
|
||||
t.plan( 4 );
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
}
|
||||
|
||||
function test_04_Layer_StandardOptionsAccessors (t) {
|
||||
function test_Layer_StandardOptionsAccessors (t) {
|
||||
|
||||
t.plan( 4 );
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
|
||||
}
|
||||
|
||||
function test_05_Layer_visibility(t) {
|
||||
function test_Layer_visibility(t) {
|
||||
|
||||
t.plan(7);
|
||||
|
||||
@@ -249,7 +249,7 @@
|
||||
}
|
||||
|
||||
|
||||
function test_06_Layer_getZoomForResolution(t) {
|
||||
function test_Layer_getZoomForResolution(t) {
|
||||
|
||||
t.plan(12);
|
||||
|
||||
@@ -282,7 +282,7 @@
|
||||
|
||||
}
|
||||
|
||||
function test_07_Layer_redraw(t) {
|
||||
function test_Layer_redraw(t) {
|
||||
t.plan(8)
|
||||
|
||||
var name = 'Test Layer';
|
||||
@@ -341,7 +341,7 @@
|
||||
t.ok(layer.isBaseLayer, "setIsBaseLayer() change isBaseLayer property.");
|
||||
}
|
||||
|
||||
function test_08_layer_setTileSize(t) {
|
||||
function test_layer_setTileSize(t) {
|
||||
t.plan(6);
|
||||
|
||||
layer = new OpenLayers.Layer();
|
||||
@@ -435,7 +435,7 @@
|
||||
*/
|
||||
|
||||
|
||||
function test_99_Layer_destroy (t) {
|
||||
function test_Layer_destroy (t) {
|
||||
t.plan( 5 );
|
||||
|
||||
var map = new OpenLayers.Map('map');
|
||||
|
||||
Reference in New Issue
Block a user