From 97aa991f2d28b7aaa617e36f65ce25ee9d72b6b7 Mon Sep 17 00:00:00 2001 From: phpnut Date: Sun, 15 Apr 2007 07:19:31 +0000 Subject: [PATCH] Correcting svn properties on files git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4860 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/set.test.php | 0 cake/tests/fixtures/aco_action_fixture.php | 98 +++++++-------- cake/tests/fixtures/aco_fixture.php | 98 +++++++-------- cake/tests/fixtures/apple_fixture.php | 112 +++++++++--------- cake/tests/fixtures/aro_fixture.php | 98 +++++++-------- cake/tests/fixtures/aros_aco_fixture.php | 98 +++++++-------- .../fixtures/article_featured_fixture.php | 104 ++++++++-------- cake/tests/fixtures/featured_fixture.php | 102 ++++++++-------- cake/tests/fixtures/sample_fixture.php | 94 +++++++-------- 9 files changed, 402 insertions(+), 402 deletions(-) mode change 100755 => 100644 cake/tests/cases/libs/set.test.php diff --git a/cake/tests/cases/libs/set.test.php b/cake/tests/cases/libs/set.test.php old mode 100755 new mode 100644 diff --git a/cake/tests/fixtures/aco_action_fixture.php b/cake/tests/fixtures/aco_action_fixture.php index 9ab760c65..373842ea8 100644 --- a/cake/tests/fixtures/aco_action_fixture.php +++ b/cake/tests/fixtures/aco_action_fixture.php @@ -1,50 +1,50 @@ - - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake.tests - * @subpackage cake.tests.fixtures - * @since CakePHP(tm) v 1.2.0.4667 - * @version $Revision: 4668 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-03-23 19:11:06 -0300 (Vie, 23 Mar 2007) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -/** - * Short description for class. - * - * @package cake.tests - * @subpackage cake.tests.fixtures - */ -class AcoActionFixture extends CakeTestFixture { - var $name = 'AcoAction'; - var $fields = array( - 'id' => array('type' => 'integer', 'key' => 'primary'), - 'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'model' => array('type' => 'string', 'default' => ''), - 'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'alias' => array('type' => 'string', 'default' => ''), - 'lft' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'rght' => array('type' => 'integer', 'length' => 10, 'null' => true) - ); - var $records = array( - ); -} - + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The Open Group Test Suite License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests + * @package cake.tests + * @subpackage cake.tests.fixtures + * @since CakePHP(tm) v 1.2.0.4667 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + */ +/** + * Short description for class. + * + * @package cake.tests + * @subpackage cake.tests.fixtures + */ +class AcoActionFixture extends CakeTestFixture { + var $name = 'AcoAction'; + var $fields = array( + 'id' => array('type' => 'integer', 'key' => 'primary'), + 'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'model' => array('type' => 'string', 'default' => ''), + 'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'alias' => array('type' => 'string', 'default' => ''), + 'lft' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'rght' => array('type' => 'integer', 'length' => 10, 'null' => true) + ); + var $records = array( + ); +} + ?> \ No newline at end of file diff --git a/cake/tests/fixtures/aco_fixture.php b/cake/tests/fixtures/aco_fixture.php index a5b3d6321..1b127a150 100644 --- a/cake/tests/fixtures/aco_fixture.php +++ b/cake/tests/fixtures/aco_fixture.php @@ -1,50 +1,50 @@ - - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake.tests - * @subpackage cake.tests.fixtures - * @since CakePHP(tm) v 1.2.0.4667 - * @version $Revision: 4668 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-03-23 19:11:06 -0300 (Vie, 23 Mar 2007) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -/** - * Short description for class. - * - * @package cake.tests - * @subpackage cake.tests.fixtures - */ -class AcoFixture extends CakeTestFixture { - var $name = 'Aco'; - var $fields = array( - 'id' => array('type' => 'integer', 'key' => 'primary'), - 'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'model' => array('type' => 'string', 'default' => ''), - 'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'alias' => array('type' => 'string', 'default' => ''), - 'lft' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'rght' => array('type' => 'integer', 'length' => 10, 'null' => true) - ); - var $records = array( - ); -} - + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The Open Group Test Suite License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests + * @package cake.tests + * @subpackage cake.tests.fixtures + * @since CakePHP(tm) v 1.2.0.4667 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + */ +/** + * Short description for class. + * + * @package cake.tests + * @subpackage cake.tests.fixtures + */ +class AcoFixture extends CakeTestFixture { + var $name = 'Aco'; + var $fields = array( + 'id' => array('type' => 'integer', 'key' => 'primary'), + 'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'model' => array('type' => 'string', 'default' => ''), + 'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'alias' => array('type' => 'string', 'default' => ''), + 'lft' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'rght' => array('type' => 'integer', 'length' => 10, 'null' => true) + ); + var $records = array( + ); +} + ?> \ No newline at end of file diff --git a/cake/tests/fixtures/apple_fixture.php b/cake/tests/fixtures/apple_fixture.php index 7ab93804c..f35cb71da 100644 --- a/cake/tests/fixtures/apple_fixture.php +++ b/cake/tests/fixtures/apple_fixture.php @@ -1,57 +1,57 @@ - - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake.tests - * @subpackage cake.tests.fixtures - * @since CakePHP(tm) v 1.2.0.4667 - * @version $Revision: 4668 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-03-23 19:11:06 -0300 (Vie, 23 Mar 2007) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -/** - * Short description for class. - * - * @package cake.tests - * @subpackage cake.tests.fixtures - */ -class AppleFixture extends CakeTestFixture { - var $name = 'Apple'; - var $fields = array( - 'id' => array('type' => 'integer', 'key' => 'primary'), - 'apple_id' => array('type' => 'integer', 'null' => true), - 'color' => array('type' => 'string', 'length' => 40, 'null' => false), - 'name' => array('type' => 'string', 'length' => 40, 'null' => false), - 'created' => 'datetime', - 'date' => 'date', - 'modified' => 'datetime' - ); - var $records = array( - array('id' => 1, 'apple_id' => 2, 'color' => 'Red 1', 'name' => 'Red Apple 1', 'created' => '2006-11-22 10:38:58', 'date' => '1951-01-04', 'modified' => '2006-12-01 13:31:26'), - array('id' => 2, 'apple_id' => 1, 'color' => 'Bright Red 1', 'name' => 'Bright Red Apple', 'created' => '2006-11-22 10:43:13', 'date' => '2014-01-01', 'modified' => '2006-11-30 18:38:10'), - array('id' => 3, 'apple_id' => 2, 'color' => 'blue green', 'name' => 'green blue', 'created' => '2006-12-25 05:13:36', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:23:24'), - array('id' => 6, 'apple_id' => 2, 'color' => 'Blue Green', 'name' => 'Test Name', 'created' => '2006-12-25 05:23:36', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:23:36'), - array('id' => 7, 'apple_id' => 7, 'color' => 'Green', 'name' => 'Blue Green', 'created' => '2006-12-25 05:24:06', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:29:16'), - array('id' => 8, 'apple_id' => 6, 'color' => 'My new appleOrange', 'name' => 'My new apple', 'created' => '2006-12-25 05:29:39', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:29:39'), - array('id' => 9, 'apple_id' => 8, 'color' => 'Some wierd color', 'name' => 'Some odd color', 'created' => '2006-12-25 05:34:21', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:34:21') - ); -} - + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The Open Group Test Suite License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests + * @package cake.tests + * @subpackage cake.tests.fixtures + * @since CakePHP(tm) v 1.2.0.4667 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + */ +/** + * Short description for class. + * + * @package cake.tests + * @subpackage cake.tests.fixtures + */ +class AppleFixture extends CakeTestFixture { + var $name = 'Apple'; + var $fields = array( + 'id' => array('type' => 'integer', 'key' => 'primary'), + 'apple_id' => array('type' => 'integer', 'null' => true), + 'color' => array('type' => 'string', 'length' => 40, 'null' => false), + 'name' => array('type' => 'string', 'length' => 40, 'null' => false), + 'created' => 'datetime', + 'date' => 'date', + 'modified' => 'datetime' + ); + var $records = array( + array('id' => 1, 'apple_id' => 2, 'color' => 'Red 1', 'name' => 'Red Apple 1', 'created' => '2006-11-22 10:38:58', 'date' => '1951-01-04', 'modified' => '2006-12-01 13:31:26'), + array('id' => 2, 'apple_id' => 1, 'color' => 'Bright Red 1', 'name' => 'Bright Red Apple', 'created' => '2006-11-22 10:43:13', 'date' => '2014-01-01', 'modified' => '2006-11-30 18:38:10'), + array('id' => 3, 'apple_id' => 2, 'color' => 'blue green', 'name' => 'green blue', 'created' => '2006-12-25 05:13:36', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:23:24'), + array('id' => 6, 'apple_id' => 2, 'color' => 'Blue Green', 'name' => 'Test Name', 'created' => '2006-12-25 05:23:36', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:23:36'), + array('id' => 7, 'apple_id' => 7, 'color' => 'Green', 'name' => 'Blue Green', 'created' => '2006-12-25 05:24:06', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:29:16'), + array('id' => 8, 'apple_id' => 6, 'color' => 'My new appleOrange', 'name' => 'My new apple', 'created' => '2006-12-25 05:29:39', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:29:39'), + array('id' => 9, 'apple_id' => 8, 'color' => 'Some wierd color', 'name' => 'Some odd color', 'created' => '2006-12-25 05:34:21', 'date' => '2006-12-25', 'modified' => '2006-12-25 05:34:21') + ); +} + ?> \ No newline at end of file diff --git a/cake/tests/fixtures/aro_fixture.php b/cake/tests/fixtures/aro_fixture.php index 8dcea786d..73b054d7a 100644 --- a/cake/tests/fixtures/aro_fixture.php +++ b/cake/tests/fixtures/aro_fixture.php @@ -1,50 +1,50 @@ - - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake.tests - * @subpackage cake.tests.fixtures - * @since CakePHP(tm) v 1.2.0.4667 - * @version $Revision: 4668 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-03-23 19:11:06 -0300 (Vie, 23 Mar 2007) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -/** - * Short description for class. - * - * @package cake.tests - * @subpackage cake.tests.fixtures - */ -class AroFixture extends CakeTestFixture { - var $name = 'Aro'; - var $fields = array( - 'id' => array('type' => 'integer', 'key' => 'primary'), - 'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'model' => array('type' => 'string', 'default' => ''), - 'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'alias' => array('type' => 'string', 'default' => ''), - 'lft' => array('type' => 'integer', 'length' => 10, 'null' => true), - 'rght' => array('type' => 'integer', 'length' => 10, 'null' => true) - ); - var $records = array( - ); -} - + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The Open Group Test Suite License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests + * @package cake.tests + * @subpackage cake.tests.fixtures + * @since CakePHP(tm) v 1.2.0.4667 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + */ +/** + * Short description for class. + * + * @package cake.tests + * @subpackage cake.tests.fixtures + */ +class AroFixture extends CakeTestFixture { + var $name = 'Aro'; + var $fields = array( + 'id' => array('type' => 'integer', 'key' => 'primary'), + 'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'model' => array('type' => 'string', 'default' => ''), + 'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'alias' => array('type' => 'string', 'default' => ''), + 'lft' => array('type' => 'integer', 'length' => 10, 'null' => true), + 'rght' => array('type' => 'integer', 'length' => 10, 'null' => true) + ); + var $records = array( + ); +} + ?> \ No newline at end of file diff --git a/cake/tests/fixtures/aros_aco_fixture.php b/cake/tests/fixtures/aros_aco_fixture.php index 70c179a1d..d77170449 100644 --- a/cake/tests/fixtures/aros_aco_fixture.php +++ b/cake/tests/fixtures/aros_aco_fixture.php @@ -1,50 +1,50 @@ - - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake.tests - * @subpackage cake.tests.fixtures - * @since CakePHP(tm) v 1.2.0.4667 - * @version $Revision: 4668 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-03-23 19:11:06 -0300 (Vie, 23 Mar 2007) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -/** - * Short description for class. - * - * @package cake.tests - * @subpackage cake.tests.fixtures - */ -class ArosAcoFixture extends CakeTestFixture { - var $name = 'ArosAco'; - var $fields = array( - 'id' => array('type' => 'integer', 'key' => 'primary'), - 'aro_id' => array('type' => 'integer', 'length' => 10, 'null' => false), - 'aco_id' => array('type' => 'integer', 'length' => 10, 'null' => false), - '_create' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'), - '_read' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'), - '_update' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'), - '_delete' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0') - ); - var $records = array( - ); -} - + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The Open Group Test Suite License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests + * @package cake.tests + * @subpackage cake.tests.fixtures + * @since CakePHP(tm) v 1.2.0.4667 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + */ +/** + * Short description for class. + * + * @package cake.tests + * @subpackage cake.tests.fixtures + */ +class ArosAcoFixture extends CakeTestFixture { + var $name = 'ArosAco'; + var $fields = array( + 'id' => array('type' => 'integer', 'key' => 'primary'), + 'aro_id' => array('type' => 'integer', 'length' => 10, 'null' => false), + 'aco_id' => array('type' => 'integer', 'length' => 10, 'null' => false), + '_create' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'), + '_read' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'), + '_update' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'), + '_delete' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0') + ); + var $records = array( + ); +} + ?> \ No newline at end of file diff --git a/cake/tests/fixtures/article_featured_fixture.php b/cake/tests/fixtures/article_featured_fixture.php index 00c8b6cbb..39aef2927 100644 --- a/cake/tests/fixtures/article_featured_fixture.php +++ b/cake/tests/fixtures/article_featured_fixture.php @@ -1,53 +1,53 @@ - - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake.tests - * @subpackage cake.tests.fixtures - * @since CakePHP(tm) v 1.2.0.4667 - * @version $Revision: 4668 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-03-23 19:11:06 -0300 (Vie, 23 Mar 2007) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -/** - * Short description for class. - * - * @package cake.tests - * @subpackage cake.tests.fixtures - */ -class ArticleFeaturedFixture extends CakeTestFixture { - var $name = 'ArticleFeatured'; - var $fields = array( - 'id' => array('type' => 'integer', 'key' => 'primary'), - 'user_id' => array('type' => 'integer', 'null' => false), - 'title' => array('type' => 'string', 'null' => false), - 'body' => 'text', - 'published' => array('type' => 'string', 'length' => 1, 'default' => 'N'), - 'created' => 'datetime', - 'updated' => 'datetime' - ); - var $records = array( - array ('id' => 1, 'user_id' => 1, 'title' => 'First Article', 'body' => 'First Article Body', 'published' => 'Y', 'created' => '2007-03-18 10:39:23', 'updated' => '2007-03-18 10:41:31'), - array ('id' => 2, 'user_id' => 3, 'title' => 'Second Article', 'body' => 'Second Article Body', 'published' => 'Y', 'created' => '2007-03-18 10:41:23', 'updated' => '2007-03-18 10:43:31'), - array ('id' => 3, 'user_id' => 1, 'title' => 'Third Article', 'body' => 'Third Article Body', 'published' => 'Y', 'created' => '2007-03-18 10:43:23', 'updated' => '2007-03-18 10:45:31') - ); -} - + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The Open Group Test Suite License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests + * @package cake.tests + * @subpackage cake.tests.fixtures + * @since CakePHP(tm) v 1.2.0.4667 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + */ +/** + * Short description for class. + * + * @package cake.tests + * @subpackage cake.tests.fixtures + */ +class ArticleFeaturedFixture extends CakeTestFixture { + var $name = 'ArticleFeatured'; + var $fields = array( + 'id' => array('type' => 'integer', 'key' => 'primary'), + 'user_id' => array('type' => 'integer', 'null' => false), + 'title' => array('type' => 'string', 'null' => false), + 'body' => 'text', + 'published' => array('type' => 'string', 'length' => 1, 'default' => 'N'), + 'created' => 'datetime', + 'updated' => 'datetime' + ); + var $records = array( + array ('id' => 1, 'user_id' => 1, 'title' => 'First Article', 'body' => 'First Article Body', 'published' => 'Y', 'created' => '2007-03-18 10:39:23', 'updated' => '2007-03-18 10:41:31'), + array ('id' => 2, 'user_id' => 3, 'title' => 'Second Article', 'body' => 'Second Article Body', 'published' => 'Y', 'created' => '2007-03-18 10:41:23', 'updated' => '2007-03-18 10:43:31'), + array ('id' => 3, 'user_id' => 1, 'title' => 'Third Article', 'body' => 'Third Article Body', 'published' => 'Y', 'created' => '2007-03-18 10:43:23', 'updated' => '2007-03-18 10:45:31') + ); +} + ?> \ No newline at end of file diff --git a/cake/tests/fixtures/featured_fixture.php b/cake/tests/fixtures/featured_fixture.php index 0a8a130e1..8bf39e58b 100644 --- a/cake/tests/fixtures/featured_fixture.php +++ b/cake/tests/fixtures/featured_fixture.php @@ -1,52 +1,52 @@ - - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake.tests - * @subpackage cake.tests.fixtures - * @since CakePHP(tm) v 1.2.0.4667 - * @version $Revision: 4668 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-03-23 19:11:06 -0300 (Vie, 23 Mar 2007) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -/** - * Short description for class. - * - * @package cake.tests - * @subpackage cake.tests.fixtures - */ -class FeaturedFixture extends CakeTestFixture { - var $name = 'Featured'; - var $fields = array( - 'id' => array('type' => 'integer', 'key' => 'primary'), - 'article_featured_id' => array('type' => 'integer', 'null' => false), - 'category_id' => array('type' => 'integer', 'null' => false), - 'published_date' => 'datetime', - 'end_date' => 'datetime', - 'created' => 'datetime', - 'updated' => 'datetime' - ); - var $records = array( - array ('id' => 1, 'article_featured_id' => 1, 'category_id' => 1, 'published_date' => '2007-03-31 10:39:23', 'end_date' => '2007-05-15 10:39:23', 'created' => '2007-03-18 10:39:23', 'updated' => '2007-03-18 10:41:31'), - array ('id' => 2, 'article_featured_id' => 2, 'category_id' => 1, 'published_date' => '2007-03-31 10:39:23', 'end_date' => '2007-05-15 10:39:23', 'created' => '2007-03-18 10:39:23', 'updated' => '2007-03-18 10:41:31'), - ); -} - + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The Open Group Test Suite License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests + * @package cake.tests + * @subpackage cake.tests.fixtures + * @since CakePHP(tm) v 1.2.0.4667 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + */ +/** + * Short description for class. + * + * @package cake.tests + * @subpackage cake.tests.fixtures + */ +class FeaturedFixture extends CakeTestFixture { + var $name = 'Featured'; + var $fields = array( + 'id' => array('type' => 'integer', 'key' => 'primary'), + 'article_featured_id' => array('type' => 'integer', 'null' => false), + 'category_id' => array('type' => 'integer', 'null' => false), + 'published_date' => 'datetime', + 'end_date' => 'datetime', + 'created' => 'datetime', + 'updated' => 'datetime' + ); + var $records = array( + array ('id' => 1, 'article_featured_id' => 1, 'category_id' => 1, 'published_date' => '2007-03-31 10:39:23', 'end_date' => '2007-05-15 10:39:23', 'created' => '2007-03-18 10:39:23', 'updated' => '2007-03-18 10:41:31'), + array ('id' => 2, 'article_featured_id' => 2, 'category_id' => 1, 'published_date' => '2007-03-31 10:39:23', 'end_date' => '2007-05-15 10:39:23', 'created' => '2007-03-18 10:39:23', 'updated' => '2007-03-18 10:41:31'), + ); +} + ?> \ No newline at end of file diff --git a/cake/tests/fixtures/sample_fixture.php b/cake/tests/fixtures/sample_fixture.php index e9d89a289..abea457ed 100644 --- a/cake/tests/fixtures/sample_fixture.php +++ b/cake/tests/fixtures/sample_fixture.php @@ -1,48 +1,48 @@ - - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake.tests - * @subpackage cake.tests.fixtures - * @since CakePHP(tm) v 1.2.0.4667 - * @version $Revision: 4668 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-03-23 19:11:06 -0300 (Vie, 23 Mar 2007) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -/** - * Short description for class. - * - * @package cake.tests - * @subpackage cake.tests.fixtures - */ -class SampleFixture extends CakeTestFixture { - var $name = 'Sample'; - var $fields = array( - 'id' => array('type' => 'integer', 'key' => 'primary'), - 'apple_id' => array('type' => 'integer', 'null' => false), - 'name' => array('type' => 'string', 'length' => 40, 'null' => false) - ); - var $records = array( - array('id' => 1, 'apple_id' => 3, 'name' => 'sample1'), - array('id' => 2, 'apple_id' => 2, 'name' => 'sample2'), - array('id' => 3, 'apple_id' => 6, 'name' => 'sample3'), - array('id' => 4, 'apple_id' => 7, 'name' => 'sample4') - ); + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The Open Group Test Suite License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests + * @package cake.tests + * @subpackage cake.tests.fixtures + * @since CakePHP(tm) v 1.2.0.4667 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + */ +/** + * Short description for class. + * + * @package cake.tests + * @subpackage cake.tests.fixtures + */ +class SampleFixture extends CakeTestFixture { + var $name = 'Sample'; + var $fields = array( + 'id' => array('type' => 'integer', 'key' => 'primary'), + 'apple_id' => array('type' => 'integer', 'null' => false), + 'name' => array('type' => 'string', 'length' => 40, 'null' => false) + ); + var $records = array( + array('id' => 1, 'apple_id' => 3, 'name' => 'sample1'), + array('id' => 2, 'apple_id' => 2, 'name' => 'sample2'), + array('id' => 3, 'apple_id' => 6, 'name' => 'sample3'), + array('id' => 4, 'apple_id' => 7, 'name' => 'sample4') + ); } \ No newline at end of file