Changeset 519d6f3
- Timestamp:
- 11/01/11 11:14:52 (7 months ago)
- Branches:
- master
- Children:
- d401315
- Parents:
- 9da533b
- git-author:
- Michiel Rook <mrook@…> (11/01/11 11:14:52)
- git-committer:
- Michiel Rook <mrook@…> (11/01/11 11:14:52)
- Location:
- test
- Files:
-
- 2 deleted
- 2 edited
- 2 moved
-
classes/phing/regression/PhpUnit34Test.php (deleted)
-
classes/phing/tasks/ext/PHPUnitTaskTest.php (modified) (3 diffs)
-
etc/regression/363/build.xml (deleted)
-
etc/tasks/ext/phpunit/HelloWorld.php (moved) (moved from test/etc/regression/363/HelloWorld.php)
-
etc/tasks/ext/phpunit/HelloWorldTest.php (moved) (moved from test/etc/regression/363/HelloWorldTest.php)
-
etc/tasks/ext/phpunit/build.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
test/classes/phing/tasks/ext/PHPUnitTaskTest.php
raf7d1f7 r519d6f3 29 29 */ 30 30 class PHPUnitTaskTest extends BuildFileTest { 31 protected $backupGlobals = FALSE; 31 32 32 33 public function setUp() … … 37 38 /** 38 39 * Regression test for http://www.phing.info/trac/ticket/655 39 * "PlainPHPUnitResultFormatter does not display errors if @dataProvider was used"40 * "PlainPHPUnitResultFormatter does not display errors if dataProvider was used" 40 41 */ 41 42 public function testPlainFormatterDataProvider() … … 44 45 $this->assertInLogs("Tests run: 2, Failures: 1, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed:"); 45 46 } 47 48 /** 49 * Regression test for ticket http://www.phing.info/trac/ticket/363 50 * "PHPUnit task fails with formatter type 'xml'" 51 */ 52 public function testHelloWorld() { 53 $this->executeTarget(__FUNCTION__); 54 $this->assertInLogs("<testcase name=\"testSayHello\" class=\"HelloWorldTest\""); 55 } 56 46 57 } -
test/etc/tasks/ext/phpunit/build.xml
raf7d1f7 r519d6f3 11 11 </batchtest> 12 12 </phpunit> 13 </target> 13 </target> 14 15 <target name="testHelloWorld"> 16 <phpunit haltonerror="true" haltonfailure="true" 17 printsummary="true"> 18 <formatter type="xml" usefile="false"/> 19 <formatter type="plain" usefile="false"/> 20 <batchtest> 21 <fileset dir="."> 22 <include name="HelloWorldTest.php"/> 23 </fileset> 24 </batchtest> 25 </phpunit> 26 </target> 14 27 </project>
Note: See TracChangeset
for help on using the changeset viewer.
