Mantis Bugtracker
  

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

- Relationships

- 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 [^]
 

- Issue History
Date Modified Username Field Change
03-16-09 18:38 koreth New Issue
05-08-09 00:17 koreth Note Added: 0003990
05-08-09 12:59 nam Note Added: 0003991
05-13-09 13:42 nam Status new => assigned
05-13-09 13:42 nam Assigned To  => nam
09-28-10 10:27 domdorn Note Added: 0004764
09-28-10 10:27 domdorn Assigned To nam => domdorn
09-28-10 10:27 domdorn version 4.0.0 => 4.0.10
03-22-12 13:44 domdorn Assigned To domdorn =>
05-02-14 17:26 nam Assigned To  => nam
05-02-14 17:26 nam Status assigned => closed
05-02-14 17:26 nam Resolution open => unable to reproduce


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker