[Mapbender-commits] r6982 - trunk/mapbender/test/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 30 06:19:19 EDT 2010


Author: christoph
Date: 2010-09-30 10:19:19 +0000 (Thu, 30 Sep 2010)
New Revision: 6982

Modified:
   trunk/mapbender/test/http/classes/Gml2FactoryTest.php
Log:
formatted

Modified: trunk/mapbender/test/http/classes/Gml2FactoryTest.php
===================================================================
--- trunk/mapbender/test/http/classes/Gml2FactoryTest.php	2010-09-30 10:03:16 UTC (rev 6981)
+++ trunk/mapbender/test/http/classes/Gml2FactoryTest.php	2010-09-30 10:19:19 UTC (rev 6982)
@@ -2,27 +2,26 @@
 require_once 'PHPUnit/Framework.php';
 require_once dirname(__FILE__) . "/../../../http/classes/class_gml_2_factory.php";
 
-class Gml2FactoryTest extends PHPUnit_Framework_TestCase
-{
+class Gml2FactoryTest extends PHPUnit_Framework_TestCase {
 
 	protected $gml2Factory;
 	protected $geoJsonPolygonDonut;
 
 	public function setUp () {
-    	$this->geoJsonPolygonDonut = dirname(__FILE__) . "/../../data/polygonDonut.json";
-    	$this->gml2PolygonDonutNoWhiteSpace = dirname(__FILE__) . "/../../data/polygonDonutNoWhiteSpace.gml2.xml";
-    	$this->gml2PolygonDonut = dirname(__FILE__) . "/../../data/polygonDonut.gml2.xml";
+		$this->geoJsonPolygonDonut = dirname(__FILE__) . "/../../data/polygonDonut.json";
+		$this->gml2PolygonDonutNoWhiteSpace = dirname(__FILE__) . "/../../data/polygonDonutNoWhiteSpace.gml2.xml";
+		$this->gml2PolygonDonut = dirname(__FILE__) . "/../../data/polygonDonut.gml2.xml";
 
 		$this->gml2Factory = new Gml_2_Factory();
-    }
+	}
 
 	public function testRemoveWhiteSpace () {
 		$gml2 = file_get_contents($this->gml2PolygonDonut);
 		$expectedGml2 = file_get_contents($this->gml2PolygonDonutNoWhiteSpace);
 		$this->assertEquals(
-        	$expectedGml2,
-        	$this->gml2Factory->removeWhiteSpace($gml2)
-        );
+			$expectedGml2,
+			$this->gml2Factory->removeWhiteSpace($gml2)
+		);
 
 	}
 
@@ -33,9 +32,9 @@
 		$gmlObj = $this->gml2Factory->createFromGeoJson($geoJson);
 
 		$this->assertEquals(
-        	$this->gml2Factory->removeWhiteSpace($expectedGml2),
-        	$gmlObj->toGml()
-        );
-    }
+			$this->gml2Factory->removeWhiteSpace($expectedGml2),
+			$gmlObj->toGml()
+		);
+	}
 }
 ?>
\ No newline at end of file



More information about the Mapbender_commits mailing list