Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Bug #16464 Unit tests don't run from SVN
Submitted: 2009-07-24 07:51 UTC
From: doconnor Assigned: doconnor
Status: Closed Package: Structures_DataGrid (version CVS)
PHP Version: 5.2.5 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 47 + 25 = ?

 
 [2009-07-24 07:51 UTC] doconnor (Daniel O'Connor)
Description: ------------ You just need to: mkdir Services svn add Services svn mv DataGrid.php Services/ svn mv DataGrid Services/ and update your package.xml Happy to do this for you if you like Test script: --------------- clockwerx@clockwerx-desktop:~/pear-svn/packages/Structures_DataGrid/trunk$ php tests/AllTests.php Expected result: ---------------- Tests run Actual result: -------------- Warning: require_once(Structures/DataGrid.php): failed to open stream: No such file or directory in /home/clockwerx/pear-svn/packages/Structures_DataGrid/trunk/tests/DataGridTest.php on line 52 Call Stack: 0.0008 75132 1. {main}() /home/clockwerx/pear-svn/packages/Structures_DataGrid/trunk/tests/AllTests.php:0 0.0207 303832 2. require_once('/home/clockwerx/pear-svn/packages/Structures_DataGrid/trunk/tests/DataGridTest.php') /home/clockwerx/pear-svn/packages/Structures_DataGrid/trunk/tests/AllTests.php:52 Fatal error: require_once(): Failed opening required 'Structures/DataGrid.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear-svn/packages/Structures_DataGrid/trunk/tests/DataGridTest.php on line 52 Call Stack: 0.0008 75132 1. {main}() /home/clockwerx/pear-svn/packages/Structures_DataGrid/trunk/tests/AllTests.php:0 0.0207 303832 2. require_once('/home/clockwerx/pear-svn/packages/Structures_DataGrid/trunk/tests/DataGridTest.php') /home/clockwerx/pear-svn/packages/Structures_DataGrid/trunk/tests/AllTests.php:52

Comments

 [2010-02-14 08:04 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I haven't updated the assorted package.xml