Removed extra slash in test paths.

Removed extra lines in files.
Corrected header in file

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5340 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-06-23 05:56:36 +00:00
parent 4a9748e7f5
commit 90299c0d0e
4 changed files with 36 additions and 39 deletions

View file

@ -1603,7 +1603,6 @@ class DboSourceTest extends UnitTestCase {
$expected = " WHERE `TestModel`.`field` = 'gribe$@()lu'"; $expected = " WHERE `TestModel`.`field` = 'gribe$@()lu'";
$this->assertEqual($result, $expected); $this->assertEqual($result, $expected);
$conditions['NOT'] = array('Listing.expiration' => "BETWEEN 1 AND 100"); $conditions['NOT'] = array('Listing.expiration' => "BETWEEN 1 AND 100");
$conditions[0]['OR'] = array( $conditions[0]['OR'] = array(
"Listing.title" => "LIKE %term%", "Listing.title" => "LIKE %term%",

View file

@ -1,6 +1,5 @@
<?php <?php
/* SVN FILE: $Id$ */ /* SVN FILE: $Id$ */
/** /**
* Tree behavior class. * Tree behavior class.
* *
@ -8,24 +7,24 @@
* *
* PHP versions 4 and 5 * PHP versions 4 and 5
* *
* CakePHP : Rapid Development Framework <http://www.cakephp.org/> * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite>
* Copyright (c) 2006, Cake Software Foundation, Inc. * Copyright 2005-2007, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204 * 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104 * Las Vegas, Nevada 89104
* *
* Licensed under The MIT License * Licensed under The Open Group Test Suite License
* Redistributions of files must retain the above copyright notice. * Redistributions of files must retain the above copyright notice.
* *
* @filesource * @filesource
* @copyright Copyright (c) 2006, Cake Software Foundation, Inc. * @copyright Copyright 2005-2007, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP Project * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests
* @package cake * @package cake.tests
* @subpackage cake.tests.fixtures * @subpackage cake.tests.fixtures
* @since CakePHP v 1.2.0.4487 * @since CakePHP(tm) v 1.2.0.5331
* @version $Revision$ * @version $Revision$
* @modifiedby $LastChangedBy$ * @modifiedby $LastChangedBy$
* @lastmodified $Date$ * @lastmodified $Date$
* @license http://www.opensource.org/licenses/mit-license.php The MIT License * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
*/ */
/** /**
* Number Tree Test Fixture * Number Tree Test Fixture

View file

@ -49,5 +49,4 @@ class PostFixture extends CakeTestFixture {
array ('id' => 3, 'author_id' => 1, 'title' => 'Third Post', 'body' => 'Third Post Body', 'published' => 'Y', 'created' => '2007-03-18 10:43:23', 'updated' => '2007-03-18 10:45:31') array ('id' => 3, 'author_id' => 1, 'title' => 'Third Post', 'body' => 'Third Post Body', 'published' => 'Y', 'created' => '2007-03-18 10:43:23', 'updated' => '2007-03-18 10:45:31')
); );
} }
?> ?>

View file

@ -58,9 +58,9 @@ class TestManager {
$manager =& new TestManager(); $manager =& new TestManager();
if (!empty($manager->usersAppTest)) { if (!empty($manager->usersAppTest)) {
$testCasePath = APP_TEST_CASES . DIRECTORY_SEPARATOR; $testCasePath = APP_TEST_CASES;
} else { } else {
$testCasePath = CORE_TEST_CASES . DIRECTORY_SEPARATOR; $testCasePath = CORE_TEST_CASES;
} }
$testCases =& $manager->_getTestFileList($testCasePath); $testCases =& $manager->_getTestFileList($testCasePath);
$test =& new GroupTest('All Core Tests'); $test =& new GroupTest('All Core Tests');