|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3394 | block | always | 03-16-09 18:38 | 05-02-14 17:26 | |
|
|
|||||
| Reporter: | koreth | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.10 | ||
| Product Build: | Resolution: | unable to reproduce | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0003394: PHPUnit data providers not being called | ||||
| Description: |
This was working at one point, but seems to have regressed. <?php include_once 'PHPUnit/Framework.php'; class MyTest extends PHPUnit_Framework_TestCase { public function myfunc() { return array(array('bar')); } /** * @dataProvider myfunc */ public function testIt($foo) { $this->assertEquals('bar', $foo); } } The test fails under Quercus but passes under regular PHP. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||