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:
@@ -5,14 +5,14 @@
|
||||
var point = new OpenLayers.Geometry.Point(10, 15);
|
||||
|
||||
|
||||
function test_01_MultiPoint_constructor (t) {
|
||||
function test_MultiPoint_constructor (t) {
|
||||
t.plan( 2 );
|
||||
var multipoint = new OpenLayers.Geometry.MultiPoint();
|
||||
t.ok( multipoint instanceof OpenLayers.Geometry.MultiPoint, "new OpenLayers.Geometry.MultiPoint returns multipoint object" );
|
||||
t.eq( multipoint.CLASS_NAME, "OpenLayers.Geometry.MultiPoint", "multipoint.CLASS_NAME is set correctly");
|
||||
}
|
||||
|
||||
function test_01a_MultiPoint_constructor (t) {
|
||||
function test_MultiPoint_constructor (t) {
|
||||
t.plan( 3 );
|
||||
var multipoint = new OpenLayers.Geometry.MultiPoint([point]);
|
||||
t.ok( multipoint instanceof OpenLayers.Geometry.MultiPoint, "new OpenLayers.Geometry.MultiPoint returns multipoint object" );
|
||||
@@ -20,7 +20,7 @@
|
||||
t.eq( multipoint.components.length, 1, "multipolygon.components.length is set correctly");
|
||||
}
|
||||
|
||||
function test_02_MultiPoint_move(t) {
|
||||
function test_MultiPoint_move(t) {
|
||||
t.plan(2);
|
||||
|
||||
var multipoint = new OpenLayers.Geometry.MultiPoint([point]);
|
||||
|
||||
Reference in New Issue
Block a user