Skip to content

Instantly share code, notes, and snippets.

@bantu
Created Nov 15, 2012
Embed
What would you like to do?
afischer@leonard:/var/www/projects/phpbb3 (develop) phpBB $ git merge --no-ff p/ticket/11202
Merge made by the 'recursive' strategy.
tests/functional/extension_controller_test.php | 2 ++
1 file changed, 2 insertions(+)
afischer@leonard:/var/www/projects/phpbb3 (develop) phpBB $ cd ..
afischer@leonard:/var/www/projects/phpbb3 (develop) $ phpunit -c phpunit.xml.functional
PHPUnit 3.7.8 by Sebastian Bergmann.
Configuration read from /var/www/projects/phpbb3/phpunit.xml.functional
.....FFE.....I...........
Time: 01:18, Memory: 37.25Mb
There was 1 error:
1) phpbb_functional_extension_controller_test::test_error_class_name
InvalidArgumentException: The current node list is empty.
/var/www/projects/phpbb3/phpBB/vendor/symfony/dom-crawler/Symfony/Component/DomCrawler/Crawler.php:467
/var/www/projects/phpbb3/tests/functional/extension_controller_test.php:111
--
There were 2 failures:
1) phpbb_functional_extension_controller_test::test_foobar
Failed asserting that '<br />
<font size='1'><table class='xdebug-error xe-fatal-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Class 'phpbb_extension_controller' not found in /var/www/projects/phpbb3/phpBB/ext/foobar/controller.php on line <i>4</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>232632</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/projects/phpbb3/phpBB/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.1704</td><td bgcolor='#eeeeec' align='right'>2052544</td><td bgcolor='#eeeeec'><a href='http://www.php.net/class_does not exist' target='_new'>class_does not exist</a>
( )</td><td title='/var/www/projects/phpbb3/phpBB/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>41</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.1706</td><td bgcolor='#eeeeec' align='right'>2053056</td><td bgcolor='#eeeeec'>phpbb_class_loader->load_class( )</td><td title='/var/www/projects/phpbb3/phpBB/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.1710</td><td bgcolor='#eeeeec' align='right'>2058128</td><td bgcolor='#eeeeec'>require( <font color='#00bb00'>'/var/www/projects/phpbb3/phpBB/ext/foobar/controller.php'</font> )</td><td title='/var/www/projects/phpbb3/phpBB/includes/class_loader.php' bgcolor='#eeeeec'>../class_loader.php<b>:</b>166</td></tr>
</table></font>
' does not contain "Fatal error:".
/var/www/projects/phpbb3/tests/test_framework/phpbb_functional_test_case.php:359
/var/www/projects/phpbb3/tests/functional/extension_controller_test.php:85
2) phpbb_functional_extension_controller_test::test_foo_bar
Failed asserting that '<br />
<font size='1'><table class='xdebug-error xe-fatal-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Class 'phpbb_extension_controller' not found in /var/www/projects/phpbb3/phpBB/ext/foo/bar/controller.php on line <i>4</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>232632</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/projects/phpbb3/phpBB/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.1665</td><td bgcolor='#eeeeec' align='right'>2055760</td><td bgcolor='#eeeeec'><a href='http://www.php.net/class_does not exist' target='_new'>class_does not exist</a>
( )</td><td title='/var/www/projects/phpbb3/phpBB/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>41</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.1667</td><td bgcolor='#eeeeec' align='right'>2056272</td><td bgcolor='#eeeeec'>phpbb_class_loader->load_class( )</td><td title='/var/www/projects/phpbb3/phpBB/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.1669</td><td bgcolor='#eeeeec' align='right'>2061344</td><td bgcolor='#eeeeec'>require( <font color='#00bb00'>'/var/www/projects/phpbb3/phpBB/ext/foo/bar/controller.php'</font> )</td><td title='/var/www/projects/phpbb3/phpBB/includes/class_loader.php' bgcolor='#eeeeec'>../class_loader.php<b>:</b>166</td></tr>
</table></font>
' does not contain "Fatal error:".
/var/www/projects/phpbb3/tests/test_framework/phpbb_functional_test_case.php:359
/var/www/projects/phpbb3/tests/functional/extension_controller_test.php:98
FAILURES!
Tests: 25, Assertions: 46, Failures: 2, Errors: 1, Incomplete: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment