Back to Overview

Details for Pull Request #1342

avatar
LouisLandry

New Cache Package

Unit Tests log corrupt.
PHP Fatal error:  Call to undefined method JCache::getInstance() in .../libraries/joomla/factory.php on line 262
PHP Stack trace:
PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
PHP   3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:129
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:176
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:346
PHP   6. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
PHP   7. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
PHP   8. PHPUnit_Framework_TestSuite->runTest() /usr/share/php/PHPUnit/Framework/TestSuite.php:745
PHP   9. PHPUnit_Framework_TestCase->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:775
PHP  10. PHPUnit_Framework_TestResult->run() /usr/share/php/PHPUnit/Framework/TestCase.php:769
PHP  11. PHPUnit_Framework_TestCase->runBare() /usr/share/php/PHPUnit/Framework/TestResult.php:648
PHP  12. PHPUnit_Framework_TestCase->runTest() /usr/share/php/PHPUnit/Framework/TestCase.php:824
PHP  13. ReflectionMethod->invokeArgs() /usr/share/php/PHPUnit/Framework/TestCase.php:969
PHP  14. JFactoryTest->testGetCache() .../tests/suites/unit/joomla/JFactoryTest.php:0
PHP  15. JFactory::getCache() .../tests/suites/unit/joomla/JFactoryTest.php:156
PHPUnit 3.7.8 by Sebastian Bergmann.

Configuration read from .../phpunit.xml.dist

SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS   61 / 3425 (  1%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  122 / 3425 (  3%)
SSSSSSSSSSSS...........I..I.II
Fatal error: Call to undefined method JCache::getInstance() in .../libraries/joomla/factory.php on line 262

Call Stack:
    0.0025     318120   1. {main}() /usr/bin/phpunit:0
    0.0340    1203384   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
    0.0342    1203928   3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:129
    5.7525   65670628   4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:176
    5.8228   66424000   5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:346
    9.8643   73275936   6. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
   10.0822   73718892   7. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
   10.1524   74087076   8. PHPUnit_Framework_TestSuite->runTest() /usr/share/php/PHPUnit/Framework/TestSuite.php:745
   10.1524   74087076   9. PHPUnit_Framework_TestCase->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:775
   10.1524   74087076  10. PHPUnit_Framework_TestResult->run() /usr/share/php/PHPUnit/Framework/TestCase.php:769
   10.1537   74088068  11. PHPUnit_Framework_TestCase->runBare() /usr/share/php/PHPUnit/Framework/TestResult.php:648
   10.1584   74136628  12. PHPUnit_Framework_TestCase->runTest() /usr/share/php/PHPUnit/Framework/TestCase.php:824
   10.1585   74137724  13. ReflectionMethod->invokeArgs() /usr/share/php/PHPUnit/Framework/TestCase.php:969
   10.1585   74137752  14. JFactoryTest->testGetCache() .../tests/suites/unit/joomla/JFactoryTest.php:0
   10.1586   74137840  15. JFactory::getCache() .../tests/suites/unit/joomla/JFactoryTest.php:156

Document is empty
Start tag expected, '<' not found

There were 123 warnings and 4 errors. Checkstyle Log (XML)

Currently there are 143 expected warnings - If your number differs, please check the log.

⇐ Index ⇐