Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPUnit_Framework_MockObject_Generator missing? #24

Closed
ddebernardy opened this issue Sep 20, 2010 · 4 comments
Closed

PHPUnit_Framework_MockObject_Generator missing? #24

ddebernardy opened this issue Sep 20, 2010 · 4 comments

Comments

@ddebernardy
Copy link

I've just installed 3.5.0RC2 using pear, on a Snow Leopard box using macports, and went on to test symfony2 using it. It'm getting a fatal error as I do:

DB:~/Sites/symfony $ phpunit
PHPUnit 3.5.0RC2 by Sebastian Bergmann.

............................................................   60 / 1446
............................................................  120 / 1446
............................................................  180 / 1446
............................................................  240 / 1446
............................................................  300 / 1446
............................................................  360 / 1446
............................................................  420 / 1446
............................................................  480 / 1446
..............PHP Fatal error:  Class 'PHPUnit_Framework_MockObject_Generator' not found in /opt/local/PEAR/PHPUnit/Framework/TestCase.php on line 1049

Fatal error: Class 'PHPUnit_Framework_MockObject_Generator' not found in /opt/local/PEAR/PHPUnit/Framework/TestCase.php on line 1049

Checking the files in /opt/local/PEAR/PHPUnit reveals no class for declaration for the above -- even though it seems to gets used three times in the PHPUnit source code.

@sebastianbergmann
Copy link
Owner

This sounds like an issue with macports to me. The PHPUnit package has a dependency on the PHPUnit_MockObject package in its package.xml file.

@ddebernardy
Copy link
Author

well, I installed phpunit/PHPUnit_MockObject-1.0.0RC2 separately, in case that's what you meant. As well as:

  • phpunit/PHP_CodeCoverage-1.0.0RC2
  • --alldeps phpunit/PHP_TokenStream-1.0.0RC1
  • phpunit/PHPUnit_Selenium-1.0.0RC2
  • etc. (basically everything that showed up as failed due to non-stable depends)

@ddebernardy
Copy link
Author

Uninstalling and reinstalling seems to have fixed it. Thanks for the hint.

@muteor
Copy link

muteor commented Sep 28, 2010

Re-install worked for me also.

localheinz added a commit to localheinz/phpunit that referenced this issue Nov 6, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
localheinz added a commit to localheinz/phpunit that referenced this issue Nov 7, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
localheinz added a commit to localheinz/phpunit that referenced this issue Nov 13, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Nov 13, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
sebastianbergmann pushed a commit that referenced this issue Nov 28, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 19, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 21, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 23, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 24, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 26, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 26, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 27, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 28, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 28, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 29, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Dec 30, 2020
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Jan 2, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Jan 6, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Jan 11, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Jan 15, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Jan 20, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Jan 26, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
sebastianbergmann pushed a commit that referenced this issue Jan 31, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Feb 1, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Feb 12, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Feb 16, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Feb 24, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
sebastianbergmann pushed a commit that referenced this issue Mar 12, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
localheinz added a commit to localheinz/phpunit that referenced this issue Mar 14, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
sebastianbergmann pushed a commit that referenced this issue May 21, 2021
Co-authored-by: Andreas Möller <am@localheinz.com>
Co-authored-by: Arne Blankerts <Arne@Blankerts.de>
partikus pushed a commit to zf1s/phpunit that referenced this issue Oct 4, 2022
Update license and copyright in all files
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants