From: Michael M Slusarz Date: Wed, 13 Jan 2010 22:55:18 +0000 (-0700) Subject: Improvements to test script output X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7e6f078af39afb9b797ee17b541d47968a76f771;p=horde.git Improvements to test script output --- diff --git a/horde/templates/test/footer.inc b/horde/templates/test/footer.inc index 308b1d01b..6a1c963fa 100644 --- a/horde/templates/test/footer.inc +++ b/horde/templates/test/footer.inc @@ -1,2 +1,5 @@ + +Return to Main Horde Test Page + diff --git a/horde/templates/test/version.inc b/horde/templates/test/version.inc index 59d7461d2..9bfdde30b 100644 --- a/horde/templates/test/version.inc +++ b/horde/templates/test/version.inc @@ -1,4 +1,4 @@ -

Version

+

Version

diff --git a/horde/test.php b/horde/test.php index 5b05ff446..fe7d0978a 100644 --- a/horde/test.php +++ b/horde/test.php @@ -45,10 +45,11 @@ $app_version = $registry->getVersion($app); * tests. Create the testing object. */ if ($app != 'horde') { $registry->pushApp($app, array('check_perms' => false)); + print "C"; } $classname = ucfirst($app) . '_Test'; if (!class_exists($classname)) { - echo '

No tests found for ' . $app . ' [' . $app_name . '].

'; + echo '

No tests found for ' . ucfirst($app) . ' [' . $app_name . '].

'; exit; } $test_ob = new $classname(); @@ -93,10 +94,7 @@ case 'unregister': } /* Get the status output now. */ -$module_output = $test_ob->phpModuleCheck(); -$setting_output = $test_ob->phpSettingCheck(); $pear_output = $test_ob->pearModuleCheck(); -$config_output = $test_ob->requiredFileCheck(); require $test_templates . '/header.inc'; require $test_templates . '/version.inc'; @@ -119,11 +117,11 @@ if ($app == 'horde') { ?> requiredAppCheck()) { ?>

Other Horde Applications

getPhpVersionInformation(); require $test_templates . '/php_version.inc'; +if ($module_output = $test_ob->phpModuleCheck()) { ?> -

PHP Module Capabilities

+phpSettingCheck()) { +?>

Miscellaneous PHP Settings

+Required Horde Configuration Files +if ($config_output = $test_ob->requiredFileCheck()) { +?> +

Required Configuration Files

+

PHP Sessions