--- a/web/lib/Zend/Tool/Project/Context/Zf/TestPHPUnitConfigFile.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Tool/Project/Context/Zf/TestPHPUnitConfigFile.php Thu Mar 21 19:50:53 2013 +0100
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Tool
* @subpackage Framework
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: TestPHPUnitConfigFile.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: TestPHPUnitConfigFile.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -33,7 +33,7 @@
*
* @category Zend
* @package Zend_Tool
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Tool_Project_Context_Zf_TestPHPUnitConfigFile extends Zend_Tool_Project_Context_Filesystem_File
@@ -53,5 +53,29 @@
{
return 'TestPHPUnitConfigFile';
}
+
+ public function getContents()
+ {
+ return <<<EOS
+<phpunit bootstrap="./bootstrap.php">
+ <testsuite name="Application Test Suite">
+ <directory>./application</directory>
+ </testsuite>
+ <testsuite name="Library Test Suite">
+ <directory>./library</directory>
+ </testsuite>
+
+ <filter>
+ <!-- If Zend Framework is inside your project's library, uncomment this filter -->
+ <!--
+ <whitelist>
+ <directory suffix=".php">../../library/Zend</directory>
+ </whitelist>
+ -->
+ </filter>
+</phpunit>
+
+EOS;
+ }
}