#015290: Test suite tries to acces local file

Description:

The Search test suite tries to access a local file:


Warning: file_get_contents(/home/derick/dev/ezcomponents-web/files/parsed_rst/coding_standards.xml): failed to open stream: No such file or directory in /home/kore/devel/ezcomponents/trunk/Search/tests/handlers/zend_lucene_test.php on line 112

Call Stack:
    0.0004     334120   1. {main}() /home/kore/devel/ezcomponents/trunk/UnitTest/src/runtests.php:0
    0.0884    4542760   2. ezcTestRunner::main() /home/kore/devel/ezcomponents/trunk/UnitTest/src/runtests.php:16
    0.0885    4543252   3. ezcTestRunner->runFromArguments() /home/kore/devel/ezcomponents/trunk/UnitTest/src/test/runner.php:37
    0.2012    7829148   4. PHPUnit_TextUI_TestRunner->doRun() /home/kore/devel/ezcomponents/trunk/UnitTest/src/test/runner.php:221
    0.2014    7836176   5. PHPUnit_Framework_TestSuite->run() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/TextUI/TestRunner.php:324
    0.2017    7837008   6. PHPUnit_Framework_TestSuite->run() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/Framework/TestSuite.php:623
    1.0797    8358316   7. PHPUnit_Framework_TestSuite->run() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/Framework/TestSuite.php:623
    1.2640   13254652   8. PHPUnit_Framework_TestSuite->runTest() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/Framework/TestSuite.php:660
    1.2640   13254652   9. PHPUnit_Framework_TestCase->run() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/Framework/TestSuite.php:679
    1.2640   13254652  10. PHPUnit_Framework_TestResult->run() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/Framework/TestCase.php:375
    1.2641   13255760  11. PHPUnit_Framework_TestCase->runBare() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/Framework/TestResult.php:607
    1.2682   13318504  12. PHPUnit_Framework_TestCase->runTest() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/Framework/TestCase.php:404
    1.2682   13319832  13. ReflectionMethod->invoke() /usr/local/php/php-5.3-snap/lib/php/PHPUnit/Framework/TestCase.php:489
    1.2682   13319880  14. ezcSearchHandlerZendLuceneTest->testIndexDocument2() /home/kore/devel/ezcomponents/trunk/Search/tests/handlers/zend_lucene_test.php:0
    1.2682   13320124  15. file_get_contents() /home/kore/devel/ezcomponents/trunk/Search/tests/handlers/zend_lucene_test.php:112

Environment:

Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):


- Attachments

No attachments for this issue.


- Comments

I have it fixed in my local checkout, but have more local changes that I need to finish up first.

#262591 by Derick Rethans on August 14th, 2009 [Permanent Link]

Fixed in rev. 10802.

#262788 by Derick Rethans on August 26th, 2009 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Components » Search
Affects Unknown
Fix Versions 2009.2 sprint 2 - eZ components 2009.2 sprint 2
2009.2alpha1 - eZ components 2009.2alpha1
Reporter Kore Nordmann
Responsible Derick Rethans
Status 0 Closed
Resolution Fixed
Created August 13th, 2009
Updated August 26th, 2009
Resolved August 26th, 2009
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels