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

Unit test failure - PHP 5.2.13 and 5.3.2 #1466

Closed
robocoder opened this issue Jul 7, 2010 · 7 comments
Closed

Unit test failure - PHP 5.2.13 and 5.3.2 #1466

robocoder opened this issue Jul 7, 2010 · 7 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@robocoder
Copy link
Contributor

PHP 5.3.2 (from CLI):

PHP Fatal error:  Multiple access type modifiers are not allowed in /PATH/TO/piwik/dev/trunk/core/Tracker/PiwikTracker.php on line 104
PHP Stack trace:
PHP   1. {main}() /PATH/TO/piwik/dev/trunk/tests/all_tests.php:0
PHP   2. TestSuite->addFile() /PATH/TO/piwik/dev/trunk/tests/all_tests.php:55
PHP   3. SimpleFileLoader->load()/PATH/TO/piwik/dev/trunk/tests/simpletest/test_case.php:569
PHP   4. include_once() /PATH/TO/piwik/dev/trunk/tests/simpletest/test_case.php:391
PHP   5. require_once() /PATH/TO/piwik/dev/trunk/plugins/ExampleAPI/tests/Integration.test.php:10
all_tests.php
1) Bad TestSuite [all_tests.php] with error [No runnable test cases in [all_tests.php]]
    in 
FAILURES!!!
Test cases run: 0/0, Passes: 0, Failures: 1, Exceptions: 0

See attachment for php 5.2.13 failures.

@robocoder
Copy link
Contributor Author

(In [2446]) refs #1466

@robocoder
Copy link
Contributor Author

r2446 fixes the fatal error and allows the unit tests to run under 5.3.2 -- and then proceeds to fail.

@robocoder
Copy link
Contributor Author

Attachment: 5.2.13
all_tests.5.2.13.html

@robocoder
Copy link
Contributor Author

Attachment: 5.3.2 cli
all_tests.5.3.2-cli.txt

@robocoder
Copy link
Contributor Author

Attachment: 5.3.2 (browser)
all_tests.5.3.2.html

@robocoder
Copy link
Contributor Author

Changeset [refs 2462

@robocoder
Copy link
Contributor Author

Rolling this into #818

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

1 participant