when generating a partial mock, constructor of mocked class is overriden, but parent construct is not called within it.
This is fatal becouse users of simpletest can use its clases contructor to initialize things. Like in CakePHP, where Model class initialize behaviours and all other sort of things in the constructor.
call to parent constructor when mocking classes partially. Patch for 1.0.1.
sorry for duplicate reporting at
https://sourceforge.net/tracker/?func=detail&aid=2820691&group_id=76550&atid=547455
and
https://sourceforge.net/tracker/?func=detail&aid=2820685&group_id=76550&atid=547455
Is my first type with sourceforge project tracker. Close them if you want.
Could you please regenrate your patch against the SVN version of SimpleTest. And also having a faling test case makes it a lot easier to get you parch committed to the trunk.
Yours,
Perrick