comparison cake/tests/fixtures/uuiditem_fixture.php @ 0:261e66bd5a0c

hg init
author Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
date Sun, 24 Jul 2011 21:08:31 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:261e66bd5a0c
1 <?php
2 /**
3 * Short description for file.
4 *
5 * PHP versions 4 and 5
6 *
7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
9 *
10 * Licensed under The Open Group Test Suite License
11 * Redistributions of files must retain the above copyright notice.
12 *
13 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
14 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
15 * @package cake
16 * @subpackage cake.tests.fixtures
17 * @since CakePHP(tm) v 1.2.0.4667
18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
19 */
20
21 /**
22 * Short description for class.
23 *
24 * @package cake
25 * @subpackage cake.tests.fixtures
26 */
27 class UuiditemFixture extends CakeTestFixture {
28
29 /**
30 * name property
31 *
32 * @var string 'Uuiditem'
33 * @access public
34 */
35 var $name = 'Uuiditem';
36
37 /**
38 * fields property
39 *
40 * @var array
41 * @access public
42 */
43 var $fields = array(
44 'id' => array('type' => 'string', 'length' => 36, 'key' => 'primary'),
45 'published' => array('type' => 'boolean', 'null' => false),
46 'name' => array('type' => 'string', 'null' => false)
47 );
48
49 /**
50 * records property
51 *
52 * @var array
53 * @access public
54 */
55 var $records = array(
56 array('id' => '481fc6d0-b920-43e0-a40d-6d1740cf8569', 'published' => 0, 'name' => 'Item 1'),
57 array('id' => '48298a29-81c0-4c26-a7fb-413140cf8569', 'published' => 0, 'name' => 'Item 2'),
58 array('id' => '482b7756-8da0-419a-b21f-27da40cf8569', 'published' => 0, 'name' => 'Item 3'),
59 array('id' => '482cfd4b-0e7c-4ea3-9582-4cec40cf8569', 'published' => 0, 'name' => 'Item 4'),
60 array('id' => '4831181b-4020-4983-a29b-131440cf8569', 'published' => 0, 'name' => 'Item 5'),
61 array('id' => '483798c8-c7cc-430e-8cf9-4fcc40cf8569', 'published' => 0, 'name' => 'Item 6')
62 );
63 }