From 30f4f74199ce3ca7bbc4d024a94c8dba7f5b4f92 Mon Sep 17 00:00:00 2001 From: phpnut Date: Wed, 2 Jan 2008 05:32:31 +0000 Subject: [PATCH] "Fixing paths in debugger tests" git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6309 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/debugger.test.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cake/tests/cases/libs/debugger.test.php b/cake/tests/cases/libs/debugger.test.php index d6089f1bd..204c6b4f7 100644 --- a/cake/tests/cases/libs/debugger.test.php +++ b/cake/tests/cases/libs/debugger.test.php @@ -56,7 +56,7 @@ SimpleTestCase::run() - CORE/vendors/simpletest/test_case.php, line 135 TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 588 TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 591 TestManager::runTestCase() - CORE/cake/tests/lib/test_manager.php, line 93 -[main] - CORE/app/webroot/test.php, line 240" +[main] - APP/webroot/test.php, line 240" ) ); $result = str_replace(array("\t", "\r\n", "\n"), "", $result); @@ -78,7 +78,7 @@ SimpleTestCase::run() - CORE/vendors/simpletest/test_case.php, line 135 TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 588 TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 591 TestManager::runTestCase() - CORE/cake/tests/lib/test_manager.php, line 93 -[main] - CORE/app/webroot/test.php, line 240")) +[main] - APP/webroot/test.php, line 240")) $out = "[empty string]" $expected = array(array("error" => "Notice","code" => "8","description" => "Undefined variable: out","line" => "44","file" => "CORE/cake/tests/cases/libs/debugger.test.php","context" => array("$result = null"),"trace" => "DebuggerTest::testOutput() - CORE/cake/tests/cases/libs/debugger.test.php, line 44 SimpleInvoker::invoke() - CORE/vendors/simpletest/invoker.php, line 68 @@ -90,7 +90,7 @@ SimpleTestCase::run() - CORE/vendors/simpletest/test_case.php, line 135 TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 588 TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 591 TestManager::runTestCase() - CORE/cake/tests/lib/test_manager.php, line 93 -[main] - CORE/app/webroot/test.php, line 240")) +[main] - APP/webroot/test.php, line 240")) '; $expected .= 'Trace: DebuggerTest::testOutput() - CORE/cake/tests/cases/libs/debugger.test.php, line 67 @@ -103,7 +103,7 @@ SimpleTestCase::run() - CORE/vendors/simpletest/test_case.php, line 135 TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 588 TestSuite::run() - CORE/vendors/simpletest/test_case.php, line 591 TestManager::runTestCase() - CORE/cake/tests/lib/test_manager.php, line 93 -[main] - CORE/app/webroot/test.php, line 240'; +[main] - APP/webroot/test.php, line 240'; $result = str_replace(array("\t", "\r\n", "\n"), "", $result); $expected = str_replace(array("\t", "\r\n", "\n"), "", $expected);