diff --git a/test/classes/gis/PMA_GIS_Geom_test.php b/test/classes/gis/PMA_GIS_Geom_test.php index d7637eb0a2..8176a92433 100644 --- a/test/classes/gis/PMA_GIS_Geom_test.php +++ b/test/classes/gis/PMA_GIS_Geom_test.php @@ -56,5 +56,19 @@ abstract class PMA_GIS_GeomTest extends PHPUnit_Framework_TestCase ); } } + + /** + * test scaleRow method + * + * @param string $spatial spatial data of a row + * @param array $min_max expected results + * + * @dataProvider providerForTestScaleRow + * @return nothing + */ + public function testScaleRow($spatial, $min_max) + { + $this->assertEquals($this->object->scaleRow($spatial), $min_max); + } } ?> \ No newline at end of file diff --git a/test/classes/gis/PMA_GIS_Linestring_test.php b/test/classes/gis/PMA_GIS_Linestring_test.php index 05413e1f45..76bfe05135 100644 --- a/test/classes/gis/PMA_GIS_Linestring_test.php +++ b/test/classes/gis/PMA_GIS_Linestring_test.php @@ -139,20 +139,6 @@ class PMA_GIS_LinestringTest extends PMA_GIS_GeomTest ); } - /** - * test scaleRow method - * - * @param string $spatial spatial data of a row - * @param array $min_max expected results - * - * @dataProvider providerForTestScaleRow - * @return nothing - */ - public function testScaleRow($spatial, $min_max) - { - $this->assertEquals($this->object->scaleRow($spatial), $min_max); - } - /** * data provider for testScaleRow * diff --git a/test/classes/gis/PMA_GIS_Multilinestring_test.php b/test/classes/gis/PMA_GIS_Multilinestring_test.php index e41b4b364a..636c028db6 100644 --- a/test/classes/gis/PMA_GIS_Multilinestring_test.php +++ b/test/classes/gis/PMA_GIS_Multilinestring_test.php @@ -199,20 +199,6 @@ class PMA_GIS_MultilinestringTest extends PMA_GIS_GeomTest ); } - /** - * test scaleRow method - * - * @param string $spatial spatial data of a row - * @param array $min_max expected results - * - * @dataProvider providerForTestScaleRow - * @return nothing - */ - public function testScaleRow($spatial, $min_max) - { - $this->assertEquals($this->object->scaleRow($spatial), $min_max); - } - /** * data provider for testScaleRow * diff --git a/test/classes/gis/PMA_GIS_Multipoint_test.php b/test/classes/gis/PMA_GIS_Multipoint_test.php index f3ba91e01e..57b7594938 100644 --- a/test/classes/gis/PMA_GIS_Multipoint_test.php +++ b/test/classes/gis/PMA_GIS_Multipoint_test.php @@ -143,20 +143,6 @@ class PMA_GIS_MultipointTest extends PMA_GIS_GeomTest ); } - /** - * test scaleRow method - * - * @param string $spatial spatial data of a row - * @param array $min_max expected results - * - * @dataProvider providerForTestScaleRow - * @return nothing - */ - public function testScaleRow($spatial, $min_max) - { - $this->assertEquals($this->object->scaleRow($spatial), $min_max); - } - /** * data provider for testScaleRow * diff --git a/test/classes/gis/PMA_GIS_Multipolygon_test.php b/test/classes/gis/PMA_GIS_Multipolygon_test.php index bd011f2d94..6e92e86ab7 100644 --- a/test/classes/gis/PMA_GIS_Multipolygon_test.php +++ b/test/classes/gis/PMA_GIS_Multipolygon_test.php @@ -227,20 +227,6 @@ class PMA_GIS_MultipolygonTest extends PMA_GIS_GeomTest ); } - /** - * test scaleRow method - * - * @param string $spatial spatial data of a row - * @param array $min_max expected results - * - * @dataProvider providerForTestScaleRow - * @return nothing - */ - public function testScaleRow($spatial, $min_max) - { - $this->assertEquals($this->object->scaleRow($spatial), $min_max); - } - /** * data provider for testScaleRow * diff --git a/test/classes/gis/PMA_GIS_Point_test.php b/test/classes/gis/PMA_GIS_Point_test.php index 7ab89bc827..bca1e4c370 100644 --- a/test/classes/gis/PMA_GIS_Point_test.php +++ b/test/classes/gis/PMA_GIS_Point_test.php @@ -145,20 +145,6 @@ class PMA_GIS_PointTest extends PMA_GIS_GeomTest ); } - /** - * test scaleRow method - * - * @param string $spatial spatial data of a row - * @param array $min_max expected results - * - * @dataProvider providerForTestScaleRow - * @return nothing - */ - public function testScaleRow($spatial, $min_max) - { - $this->assertEquals($this->object->scaleRow($spatial), $min_max); - } - /** * data provider for testScaleRow * diff --git a/test/classes/gis/PMA_GIS_Polygon_test.php b/test/classes/gis/PMA_GIS_Polygon_test.php index 54a9c3b165..0686295ae6 100644 --- a/test/classes/gis/PMA_GIS_Polygon_test.php +++ b/test/classes/gis/PMA_GIS_Polygon_test.php @@ -316,20 +316,6 @@ class PMA_GIS_PolygonTest extends PMA_GIS_GeomTest ); } - /** - * test scaleRow method - * - * @param string $spatial spatial data of a row - * @param array $min_max expected results - * - * @dataProvider providerForTestScaleRow - * @return nothing - */ - public function testScaleRow($spatial, $min_max) - { - $this->assertEquals($this->object->scaleRow($spatial), $min_max); - } - /** * data provider for testScaleRow *