| Anonymous | Login | Signup for a new account | 06-10-2026 06:03 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0003394 | [Quercus] | block | always | 03-16-09 18:38 | 05-02-14 17:26 | ||||
| Reporter | koreth | View Status | public | ||||||
| Assigned To | nam | ||||||||
| Priority | normal | Resolution | unable to reproduce | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | Product Version | 4.0.10 | |||||
| Product Build | |||||||||
| 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 | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0003990) koreth 05-08-09 00:17 |
This is still an issue and is preventing me from passing our unit test suite under Quercus. |
|
(0003991) nam 05-08-09 12:59 |
I think this is an instanceof regression. I'll check in a fix later today. |
|
(0004764) domdorn 09-28-10 10:27 |
Taking over this bug. Is this still an issue for you? Could you please try with the latest quercus release? http://caucho.com/download/quercus-4.0.10.war [^] |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 30 unique queries executed. |