[icinga-checkins] icinga.org: icinga-web/mhein/testing: * Renamed AppKitRoutingHandler -> AppKitRoutingConfigHandler

git at icinga.org git at icinga.org
Thu Jun 16 09:09:32 CEST 2011


Module: icinga-web
Branch: mhein/testing
Commit: 5f3808d381823618fe69ea7692d2227153a690e9
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=5f3808d381823618fe69ea7692d2227153a690e9

Author: Marius Hein <marius.hein at netways.de>
Date:   Wed Jun 15 11:30:45 2011 +0200

* Renamed AppKitRoutingHandler -> AppKitRoutingConfigHandler

---

 app/config/config_handlers.xml                     |    2 +-
 app/modules/AppKit/config/autoload.xml             |    2 +-
 ...ss.php => AppKitRoutingConfigHandler.class.php} |    2 +-
 .../configuration/ApiProviderRoutesTest.php        |    6 +++---
 .../tests/configuration/ApiProviderRoutesTest.php  |    6 +++---
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/app/config/config_handlers.xml b/app/config/config_handlers.xml
index b8325dd..e69c9e4 100755
--- a/app/config/config_handlers.xml
+++ b/app/config/config_handlers.xml
@@ -4,7 +4,7 @@
 	<ae:configuration>
 		<handlers>
 		
-			<handler pattern="%core.config_dir%/routing.xml" class="AppKitRoutingHandler">
+			<handler pattern="%core.config_dir%/routing.xml" class="AppKitRoutingConfigHandler">
 				<validation>%core.module_dir%/AppKit/lib/xml/xsd/routing.xsd</validation>
 				<transformation>%core.module_dir%/AppKit/lib/xml/xsl/routing.xsl</transformation>
 			</handler>
diff --git a/app/modules/AppKit/config/autoload.xml b/app/modules/AppKit/config/autoload.xml
index 336843b..cccc1e1 100755
--- a/app/modules/AppKit/config/autoload.xml
+++ b/app/modules/AppKit/config/autoload.xml
@@ -101,7 +101,7 @@
 		<autoload name="AppKitModuleUtil">%core.module_dir%/AppKit/lib/module/AppKitModuleUtil.class.php</autoload>
 	
 		<!-- Agavi config file handler -->
-		<autoload name="AppKitRoutingHandler">%core.module_dir%/AppKit/lib/config/AppKitRoutingHandler.class.php</autoload>
+		<autoload name="AppKitRoutingConfigHandler">%core.module_dir%/AppKit/lib/config/AppKitRoutingConfigHandler.class.php</autoload>
 		<autoload name="AppKitDatabaseConfigHandler">%core.module_dir%/AppKit/lib/config/AppKitDatabaseConfigHandler.class.php</autoload>
 	
 	    <!-- Classes for automatic clientside api creation -->
diff --git a/app/modules/AppKit/lib/config/AppKitRoutingHandler.class.php b/app/modules/AppKit/lib/config/AppKitRoutingConfigHandler.class.php
similarity index 98%
rename from app/modules/AppKit/lib/config/AppKitRoutingHandler.class.php
rename to app/modules/AppKit/lib/config/AppKitRoutingConfigHandler.class.php
index ea2fd3b..e63787b 100644
--- a/app/modules/AppKit/lib/config/AppKitRoutingHandler.class.php
+++ b/app/modules/AppKit/lib/config/AppKitRoutingConfigHandler.class.php
@@ -2,7 +2,7 @@
 class ApiProviderMissingActionException extends AgaviConfigurationException {};
 class ApiProviderMissingModuleException extends AgaviConfigurationException {};
 
-class AppKitRoutingHandler extends AgaviRoutingConfigHandler {
+class AppKitRoutingConfigHandler extends AgaviRoutingConfigHandler {
 
     const XML_NAMESPACE = 'http://icinga.org/appkit/config/parts/routing/1.0';
 
diff --git a/tests/phpunit/configuration/ApiProviderRoutesTest.php b/tests/phpunit/configuration/ApiProviderRoutesTest.php
index 1bb6dd5..89c5e6f 100644
--- a/tests/phpunit/configuration/ApiProviderRoutesTest.php
+++ b/tests/phpunit/configuration/ApiProviderRoutesTest.php
@@ -8,7 +8,7 @@ class ApiProviderTest extends PHPUnit_Framework_TestCase {
 	*/
 	public function testProviderAttributesInRouting(AgaviXmlConfigDomDocument $dom,$extRoutes) {
 		
-		$parser = new AppKitRoutingHandler();
+		$parser = new AppKitRoutingConfigHandler();
 		$parser->execute($dom);
 		$toExport = $parser->getApiProviders();
 	
@@ -26,7 +26,7 @@ class ApiProviderTest extends PHPUnit_Framework_TestCase {
 	* @depends testProviderAttributesInRouting
 	**/
 	public function testProviderWithoutAction($dom) { 
-		$parser = new AppKitRoutingHandler();
+		$parser = new AppKitRoutingConfigHandler();
 		$parser->execute($dom);
 	}
 
@@ -36,7 +36,7 @@ class ApiProviderTest extends PHPUnit_Framework_TestCase {
 	* @depends testProviderAttributesInRouting
 	**/
 	public function testProviderWithoutModule($dom) { 
-		$parser = new AppKitRoutingHandler();
+		$parser = new AppKitRoutingConfigHandler();
 		$parser->execute($dom);
 	}
 
diff --git a/tests/phpunit/tests/configuration/ApiProviderRoutesTest.php b/tests/phpunit/tests/configuration/ApiProviderRoutesTest.php
index 1bb6dd5..89c5e6f 100644
--- a/tests/phpunit/tests/configuration/ApiProviderRoutesTest.php
+++ b/tests/phpunit/tests/configuration/ApiProviderRoutesTest.php
@@ -8,7 +8,7 @@ class ApiProviderTest extends PHPUnit_Framework_TestCase {
 	*/
 	public function testProviderAttributesInRouting(AgaviXmlConfigDomDocument $dom,$extRoutes) {
 		
-		$parser = new AppKitRoutingHandler();
+		$parser = new AppKitRoutingConfigHandler();
 		$parser->execute($dom);
 		$toExport = $parser->getApiProviders();
 	
@@ -26,7 +26,7 @@ class ApiProviderTest extends PHPUnit_Framework_TestCase {
 	* @depends testProviderAttributesInRouting
 	**/
 	public function testProviderWithoutAction($dom) { 
-		$parser = new AppKitRoutingHandler();
+		$parser = new AppKitRoutingConfigHandler();
 		$parser->execute($dom);
 	}
 
@@ -36,7 +36,7 @@ class ApiProviderTest extends PHPUnit_Framework_TestCase {
 	* @depends testProviderAttributesInRouting
 	**/
 	public function testProviderWithoutModule($dom) { 
-		$parser = new AppKitRoutingHandler();
+		$parser = new AppKitRoutingConfigHandler();
 		$parser->execute($dom);
 	}
 





More information about the icinga-checkins mailing list