equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Tool |
16 * @package Zend_Tool |
17 * @subpackage Framework |
17 * @subpackage Framework |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: TestPHPUnitConfigFile.php 20096 2010-01-06 02:05:09Z bkarwin $ |
20 * @version $Id: TestPHPUnitConfigFile.php 24593 2012-01-05 20:35:02Z matthew $ |
21 */ |
21 */ |
22 |
22 |
23 /** |
23 /** |
24 * @see Zend_Tool_Project_Context_Filesystem_File |
24 * @see Zend_Tool_Project_Context_Filesystem_File |
25 */ |
25 */ |
31 * A profile is a hierarchical set of resources that keep track of |
31 * A profile is a hierarchical set of resources that keep track of |
32 * items within a specific project. |
32 * items within a specific project. |
33 * |
33 * |
34 * @category Zend |
34 * @category Zend |
35 * @package Zend_Tool |
35 * @package Zend_Tool |
36 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
36 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
37 * @license http://framework.zend.com/license/new-bsd New BSD License |
37 * @license http://framework.zend.com/license/new-bsd New BSD License |
38 */ |
38 */ |
39 class Zend_Tool_Project_Context_Zf_TestPHPUnitConfigFile extends Zend_Tool_Project_Context_Filesystem_File |
39 class Zend_Tool_Project_Context_Zf_TestPHPUnitConfigFile extends Zend_Tool_Project_Context_Filesystem_File |
40 { |
40 { |
41 |
41 |
51 */ |
51 */ |
52 public function getName() |
52 public function getName() |
53 { |
53 { |
54 return 'TestPHPUnitConfigFile'; |
54 return 'TestPHPUnitConfigFile'; |
55 } |
55 } |
|
56 |
|
57 public function getContents() |
|
58 { |
|
59 return <<<EOS |
|
60 <phpunit bootstrap="./bootstrap.php"> |
|
61 <testsuite name="Application Test Suite"> |
|
62 <directory>./application</directory> |
|
63 </testsuite> |
|
64 <testsuite name="Library Test Suite"> |
|
65 <directory>./library</directory> |
|
66 </testsuite> |
|
67 |
|
68 <filter> |
|
69 <!-- If Zend Framework is inside your project's library, uncomment this filter --> |
|
70 <!-- |
|
71 <whitelist> |
|
72 <directory suffix=".php">../../library/Zend</directory> |
|
73 </whitelist> |
|
74 --> |
|
75 </filter> |
|
76 </phpunit> |
|
77 |
|
78 EOS; |
|
79 } |
56 |
80 |
57 } |
81 } |