Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing CakeTestMenu as its been made obsolete.

Removing constant use from reporter.
  • Loading branch information...
commit e061a5335845feeb0e3371c2524b3097ed27ca68 1 parent 28ad1ea
@markstory markstory authored
View
60 cake/tests/lib/cake_test_menu.php
@@ -1,60 +0,0 @@
-<?php
-/**
- * CakeTestMenu Generates HTML based menus for CakePHP's built in test suite.
- *
- * PHP versions 4 and 5
- *
- * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
- * Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
- *
- * Licensed under The Open Group Test Suite License
- * Redistributions of files must retain the above copyright notice.
- *
- * @copyright Copyright 2005-2009, Cake Software Foundation, Inc. (http://cakefoundation.org)
- * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
- * @package cake
- * @subpackage cake.cake.tests.lib
- * @since CakePHP(tm) v 1.3
- * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
- */
-class CakeTestMenu {
-
-/**
- * Prints a list of test cases
- *
- * @return void
- * @access public
- */
- function testCaseList() {
- $class = CakeTestMenu::getTestManager();
- echo call_user_func(array($class, 'getTestCaseList'));
- }
-
-/**
- * Prints a list of group tests
- *
- * @return void
- * @access public
- */
- function groupTestList() {
- $class = CakeTestMenu::getTestManager();
- echo call_user_func(array($class, 'getGroupTestList'));
- }
-
-/**
- * Gets the correct test manager for the chosen output.
- *
- * @return void
- */
- function getTestManager() {
- switch (CAKE_TEST_OUTPUT) {
- case CAKE_TEST_OUTPUT_HTML:
- return 'HtmlTestManager';
- case CAKE_TEST_OUTPUT_TEXT:
- default:
- return 'TextTestManager';
- }
- }
-
-}
-?>
View
1  cake/tests/lib/cake_test_suite_dispatcher.php
@@ -18,7 +18,6 @@
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
*/
require_once CAKE_TESTS_LIB . 'test_manager.php';
-require_once CAKE_TESTS_LIB . 'cake_test_menu.php';
/**
* CakeTestSuiteDispatcher handles web requests to the test suite and runs the correct action.
View
2  cake/tests/lib/reporter/cake_html_reporter.php
@@ -205,7 +205,7 @@ function _paintLinks() {
$show = $this->_queryString($show);
$query = $this->_queryString($query);
- echo "<p><a href='" . $this->baseUrl() . $show . "'>Run more tests</a> | <a href='" . RUN_TEST_LINK . $query . "&show_passes=1'>Show Passes</a> | \n";
+ echo "<p><a href='" . $this->baseUrl() . $show . "'>Run more tests</a> | <a href='" . $this->baseUrl() . $query . "&show_passes=1'>Show Passes</a> | \n";
echo " <a href='" . $this->baseUrl() . $query . "&amp;code_coverage=true'>Analyze Code Coverage</a></p>\n";
}
Please sign in to comment.
Something went wrong with that request. Please try again.