diff --git a/app/webroot/test.php b/app/webroot/test.php index d9d2f8d64..a2e534a09 100644 --- a/app/webroot/test.php +++ b/app/webroot/test.php @@ -189,7 +189,10 @@ if(isset($_GET['output']) && $_GET['output'] == 'html') { break; } } - + + CakePHPTestHeader(); + CakePHPTestSuiteHeader(); + if (isset($_GET['group'])) { if ('all' == $_GET['group']) { TestManager::runAllTests(CakeTestsGetReporter()); @@ -212,9 +215,6 @@ if(isset($_GET['output']) && $_GET['output'] == 'html') { exit(); } - CakePHPTestHeader(); - CakePHPTestSuiteHeader(); - if (isset($_GET['show']) && $_GET['show'] == 'cases') { CakePHPTestCaseList(); } else { diff --git a/cake/tests/lib/cake_reporter.php b/cake/tests/lib/cake_reporter.php index acd132241..7a0b59d5e 100644 --- a/cake/tests/lib/cake_reporter.php +++ b/cake/tests/lib/cake_reporter.php @@ -51,19 +51,6 @@ class CakeHtmlReporter extends HtmlReporter { function paintHeader($testName) { $this->sendNoCacheHeaders(); $baseUrl = BASE_URL; - print "\n"; - print "\n"; - print "\n"; - print "\n"; - print "CakePHP(tm) Test Suite v 1.2.0.0 :: $testName\n"; - print "\n"; - print "\n"; - print "\n\n"; - print "
\n"; - print "
\n"; - print "

CakePHP(tm) Test Suite v 1.2.0.0

\n"; print "

$testName

\n"; flush(); } diff --git a/cake/tests/lib/content.php b/cake/tests/lib/content.php index 8e86a6319..b53378e67 100644 --- a/cake/tests/lib/content.php +++ b/cake/tests/lib/content.php @@ -27,9 +27,8 @@ * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License */ ?> -
-

CakePHP(tm) Test Suite v 1.2.0.0

+

CakePHP Test Suite v 1.2.0.0

+ + \ No newline at end of file diff --git a/cake/tests/lib/footer.php b/cake/tests/lib/footer.php index 977c595ab..2645c4165 100644 --- a/cake/tests/lib/footer.php +++ b/cake/tests/lib/footer.php @@ -27,16 +27,12 @@ * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License */ ?> -
+
-
- - \ No newline at end of file +
+ + \ No newline at end of file diff --git a/cake/tests/lib/header.php b/cake/tests/lib/header.php index 2fa8e9b68..7e4c859d5 100644 --- a/cake/tests/lib/header.php +++ b/cake/tests/lib/header.php @@ -31,7 +31,16 @@ - CakePHP(tm) Test Suite v 1.2.0.0 + CakePHP Test Suite v 1.2.0.0 + - \ No newline at end of file + +
+ \ No newline at end of file diff --git a/cake/tests/lib/test_manager.php b/cake/tests/lib/test_manager.php index 98046cf95..259313fca 100644 --- a/cake/tests/lib/test_manager.php +++ b/cake/tests/lib/test_manager.php @@ -313,14 +313,14 @@ class HtmlTestManager extends TestManager { $groupTests =& $manager->_getTestGroupList($directory); if (1 > count($groupTests)) { - $noGroupTests = "

No test cases set up!

"; + $noGroupTests = "

No test cases set up!

"; return $noGroupTests; } if (isset($_GET['app'])){ - $buffer = "

Available App Test Groups:

\n