PHOOL Core Test

Installation Test
Pass: Root directory exists at [/home/phool.de/htdocs/test/test_installed.php line 32]
Pass: Root directory readable at [/home/phool.de/htdocs/test/test_installed.php line 35]
Pass: Lib directory exists at [/home/phool.de/htdocs/test/test_installed.php line 43]
Pass: Lib directory readable at [/home/phool.de/htdocs/test/test_installed.php line 46]
Pass: Logging directory exists at [/home/phool.de/htdocs/test/test_installed.php line 53]
Pass: Logging directory writeable at [/home/phool.de/htdocs/test/test_installed.php line 56]
Pass: Baseconfig exists and readable at [/home/phool.de/htdocs/test/test_installed.php line 65]
Pass: $__phool_root variable set in baseconfig at [/home/phool.de/htdocs/test/test_installed.php line 69]
Pass: $__phool_root pointing to main directory at [/home/phool.de/htdocs/test/test_installed.php line 72]
Pass: init Script exists and readable at [/home/phool.de/htdocs/test/test_installed.php line 81]
Pass: Init script includable at [/home/phool.de/htdocs/test/test_installed.php line 85]
Pass: LIBDIR constant pointing to lib directory at [/home/phool.de/htdocs/test/test_installed.php line 89]
Pass: Include path properly expanded at [/home/phool.de/htdocs/test/test_installed.php line 94]
Pass: __autoload() working at [/home/phool.de/htdocs/test/test_installed.php line 98]

Error Handler Test
Pass: Error constants work at [/home/phool.de/htdocs/test/test_phool.php line 28]
Pass: Recognized trigger_error(E_USER_ERROR) at [/home/phool.de/htdocs/test/test_phool.php line 31]
Pass: trigger_error() produced exactly one error at [/home/phool.de/htdocs/test/test_phool.php line 35]
Pass: trigger_error() produces a PHP_Error object at [/home/phool.de/htdocs/test/test_phool.php line 38]
Pass: Error type of trigger_error() is E_USER_ERROR at [/home/phool.de/htdocs/test/test_phool.php line 41]
Pass: Recognized forced PHP Warning at [/home/phool.de/htdocs/test/test_phool.php line 54]
Pass: PHP warning produced exactly one error at [/home/phool.de/htdocs/test/test_phool.php line 58]
Pass: PHP warning produced a PHP_Error object at [/home/phool.de/htdocs/test/test_phool.php line 61]
Pass: Error type of forced PHP warning is E_WARNING at [/home/phool.de/htdocs/test/test_phool.php line 64]
Pass: Recognized internal error() call. at [/home/phool.de/htdocs/test/test_phool.php line 76]
Pass: error() call produced exactly one error at [/home/phool.de/htdocs/test/test_phool.php line 80]
Pass: error() call produced an Application_Error object at [/home/phool.de/htdocs/test/test_phool.php line 83]
Pass: Type of error() call is E_USER_ERROR at [/home/phool.de/htdocs/test/test_phool.php line 86]
Pass: Error logfile is created on error at [/home/phool.de/htdocs/test/test_phool.php line 101]
Pass: Error has been written to logfile at [/home/phool.de/htdocs/test/test_phool.php line 105]

Config Object Test
Pass: Single config file read at [/home/phool.de/htdocs/test/test_config.php line 28]
Pass: Config has exactly two values at [/home/phool.de/htdocs/test/test_config.php line 31]
Pass: Get config value by static call at [/home/phool.de/htdocs/test/test_config.php line 34]
Pass: Double config file merge at [/home/phool.de/htdocs/test/test_config.php line 49]
Pass: Config now has four values at [/home/phool.de/htdocs/test/test_config.php line 52]
Pass: Retrieve value from first file at [/home/phool.de/htdocs/test/test_config.php line 55]
Pass: Retrieve value from second file at [/home/phool.de/htdocs/test/test_config.php line 58]
Pass: Second file overrides first at [/home/phool.de/htdocs/test/test_config.php line 61]
Fail: test_config.php -> Config Object Test -> testConfigMerge -> Context from first file readable in second file at [/home/phool.de/htdocs/test/test_config.php line 64]

Abstract Factory Test
Pass: Create "Service" module at [/home/phool.de/htdocs/test/test_registry.php line 29]
Pass: Create "Filter" module at [/home/phool.de/htdocs/test/test_registry.php line 33]
Pass: Create "Model" module at [/home/phool.de/htdocs/test/test_registry.php line 37]
Pass: Create "View" module at [/home/phool.de/htdocs/test/test_registry.php line 41]
Pass: UserModel Instance registered at [/home/phool.de/htdocs/test/test_registry.php line 55]
Fail: test_registry.php -> Abstract Factory Test -> testSingletonRegistry -> Returned Instance of UserModel at [/home/phool.de/htdocs/test/test_registry.php line 58]
Fail: test_registry.php -> Abstract Factory Test -> testSingletonRegistry -> UserModel Instance is Singleton at [/home/phool.de/htdocs/test/test_registry.php line 62]
Exception: test_registry.php -> Abstract Factory Test -> testSingletonRegistry -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/home/phool.de/htdocs/test/test_registry.php line 62]

4/4 test cases complete: 0 passes, 3 fails and 1 exceptions.