[icinga-checkins] icinga.org: icinga-web/mhein/testing: * Fixed modules based routing handler

git at icinga.org git at icinga.org
Wed Jun 8 11:08:43 CEST 2011


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

Author: Marius Hein <marius.hein at netways.de>
Date:   Wed Jun  8 08:08:33 2011 +0200

* Fixed modules based routing handler
* Added testing context for module routes
* Added test stub module for use with phpunit

---

 app/config/routing.modules.xml                     |    2 +
 app/config/routing.xml                             |   40 ++++++++----
 .../lib/config/AppKitRoutingHandler.class.php      |   29 ++++++---
 .../AppKit/lib/module/AppKitModuleUtil.class.php   |    5 +-
 .../AppKit/lib/util/AppKitXmlUtil.class.php        |    4 +-
 .../AppKit/lib/util/AppKitXmlUtil.class.php.orig   |   63 --------------------
 app/modules/TestDummy/actions/TestAction.class.php |   23 +++++++
 app/modules/TestDummy/cache/Test.xml               |    7 ++
 app/modules/TestDummy/config.php                   |   11 ++++
 app/modules/TestDummy/config/autoload.xml          |   10 +++
 app/modules/TestDummy/config/config_handlers.xml   |    3 +
 app/modules/TestDummy/config/module.xml            |   28 +++++++++
 app/modules/TestDummy/config/routing.xml           |    9 +++
 app/modules/TestDummy/config/validators.xml        |   13 ++++
 .../lib/action/TestDummyBaseAction.class.php       |   10 +++
 .../lib/model/TestDummyBaseModel.class.php         |   10 +++
 .../TestDummy/lib/view/TestDummyBaseView.class.php |   10 +++
 app/modules/TestDummy/templates/TestSuccess.php    |    1 +
 app/modules/TestDummy/validate/Test.xml            |   13 ++++
 .../TestDummy/views/TestSuccessView.class.php      |   13 ++++
 tests/phpunit/TestInit.php                         |   30 +++++++++-
 tests/phpunit/runSuite.sh                          |   15 ++---
 tests/phpunit/suites.xml                           |    4 +-
 tests/phpunit/tests/module/ModuleLoadingTest.php   |   22 +++++++
 24 files changed, 275 insertions(+), 100 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-web.git;a=commitdiff;h=625d0ca0df67882d76f25ae18bd9fd503b3712b6




More information about the icinga-checkins mailing list