Author: maksim_ka
Date: 2010-01-26 20:10:20 +0100 (Tue, 26 Jan 2010)
New Revision: 27208
Modified:
plugins/sfPhpunitPlugin/branches/1.2/data/unit/BasePhpunitTestSuite.tpl
plugins/sfPhpunitPlugin/branches/1.2/lib/task/sfPhpunitInitTask.class.php
Log:
[sfPhpunitPlugin] the init task sets the first application to the
BasePhpunitTestSuite.
Modified:
plugins/sfPhpunitPlugin/branches/1.2/data/unit/BasePhpunitTestSuite.tpl
===================================================================
--- plugins/sfPhpunitPlugin/branches/1.2/data/unit/BasePhpunitTestSuite.tpl
2010-01-26 19:00:06 UTC (rev 27207)
+++ plugins/sfPhpunitPlugin/branches/1.2/data/unit/BasePhpunitTestSuite.tpl
2010-01-26 19:10:20 UTC (rev 27208)
@@ -18,4 +18,9 @@
protected function _end()
{
}
+
+ public function getApplication()
+ {
+ return '{application}';
+ }
}
\ No newline at end of file
Modified:
plugins/sfPhpunitPlugin/branches/1.2/lib/task/sfPhpunitInitTask.class.php
===================================================================
--- plugins/sfPhpunitPlugin/branches/1.2/lib/task/sfPhpunitInitTask.class.php
2010-01-26 19:00:06 UTC (rev 27207)
+++ plugins/sfPhpunitPlugin/branches/1.2/lib/task/sfPhpunitInitTask.class.php
2010-01-26 19:10:20 UTC (rev 27208)
@@ -58,7 +58,9 @@
// '','unit/BasePhpunitTestCase.tpl', array('className' =>
'BasePhpunitTestCase'));
$this->_createSuiteClass(
- '', 'unit/BasePhpunitTestSuite.tpl', array('className' =>
'BasePhpunitTestSuite'));
+ '', 'unit/BasePhpunitTestSuite.tpl', array(
+ 'className' => 'BasePhpunitTestSuite',
+ 'application' => $this->getFirstApplication()));
}
protected function _initFixturesDirs(PHPUnit_Framework_TestSuite $suite =
null)
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.