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

Bug #14975 Unit test failures - "Killzero" isn't rendered
Submitted: 2008-11-09 00:27 UTC
From: doconnor Assigned: kguest
Status: Closed Package: PEAR_Size (version CVS)
PHP Version: 5.2.6 OS:
Roadmaps: 0.1.9    
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 : 36 - 10 = ?

 
 [2008-11-09 00:27 UTC] doconnor (Daniel O'Connor)
Description: ------------ When you run the unit tests, " -0, --killzero do not output zero values in verbose mode" is an expected part of the output. Its not rendered; see http://www.lauken.com/doconnor/results.txt Test script: --------------- Run unit tests Expected result: ---------------- Tests pass Actual result: -------------- 75) testDefault(PEAR_Size_Test_CLI) Failed asserting that two strings are equal. --- Expected +++ Actual @@ -15,7 +15,6 @@ --help display this help and exit -V, --version output version information and exit -X, --xml output results in XML format - -0, --killzero do not output zero values in verbose mode Types: You can specify a subset of roles/file-types to be listed in the report. /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:147 /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:225

Comments

 [2008-11-09 18:08 UTC] kguest (Ken Guest)
This bug has been fixed in CVS. 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.
 [2008-11-19 12:52 UTC] doconnor (Daniel O'Connor)
:( still looks like it is failing http://www.lauken.com/doconnor/results.txt Either I accidentally installed the package or one of its dependencies, or its not fixed in CVS 91) testDefault(PEAR_Size_Test_CLI) Failed asserting that two strings are equal. --- Expected +++ Actual @@ -1,3 +1,4 @@ + Usage: pearsize [OPTIONS] [PACKAGE] Display information on how much space an installed PEAR package required. @@ -15,7 +16,6 @@ --help display this help and exit -V, --version output version information and exit -X, --xml output results in XML format - -0, --killzero do not output zero values in verbose mode Types: You can specify a subset of roles/file-types to be listed in the report. /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:147 /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:225 92) testCSVNoArgs(PEAR_Size_Test_CLI) Failed asserting that two strings are equal. --- Expected +++ Actual @@ -1,3 +1,4 @@ + Usage: pearsize [OPTIONS] [PACKAGE] Display information on how much space an installed PEAR package required. @@ -15,7 +16,6 @@ --help display this help and exit -V, --version output version information and exit -X, --xml output results in XML format - -0, --killzero do not output zero values in verbose mode Types: You can specify a subset of roles/file-types to be listed in the report. /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:147 /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:236 93) testXMLNoArgs(PEAR_Size_Test_CLI) Failed asserting that two strings are equal. --- Expected +++ Actual @@ -1,3 +1,4 @@ + Usage: pearsize [OPTIONS] [PACKAGE] Display information on how much space an installed PEAR package required. @@ -15,7 +16,6 @@ --help display this help and exit -V, --version output version information and exit -X, --xml output results in XML format - -0, --killzero do not output zero values in verbose mode Types: You can specify a subset of roles/file-types to be listed in the report. /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:147 /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:247 94) testHelp(PEAR_Size_Test_CLI) Failed asserting that two strings are equal. --- Expected +++ Actual @@ -1,3 +1,4 @@ + Usage: pearsize [OPTIONS] [PACKAGE] Display information on how much space an installed PEAR package required. @@ -15,7 +16,6 @@ --help display this help and exit -V, --version output version information and exit -X, --xml output results in XML format - -0, --killzero do not output zero values in verbose mode Types: You can specify a subset of roles/file-types to be listed in the report. /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:147 /home/clockwerx/pear/PEAR_Size/tests/PEAR_Size_TestSuite_CLI.php:257
 [2008-11-19 22:51 UTC] kguest (Ken Guest)
this is fixed. Following speaks for itself: kguest:~$ cd pear/PEAR_Size /home/kguest/pear/PEAR_Size kguest:~/pear/PEAR_Size$ cvs update cvs update: Updating . cvs update: Updating Command cvs update: Updating Size cvs update: Updating docs cvs update: Updating scripts cvs update: Updating tests kguest:~/pear/PEAR_Size$ sudo pear uninstall pear_size uninstall ok: channel://pear.php.net/PEAR_Size-0.1.9 kguest:~/pear/PEAR_Size$ sudo pear install package.xml install ok: channel://pear.php.net/PEAR_Size-0.1.9 kguest:~/pear/PEAR_Size$ cd /usr/share/php/tests/PEAR_Size/tests/ kguest:/usr/share/php/tests/PEAR_Size/tests$ php AllTests.php PHPUnit 3.3.4 by Sebastian Bergmann. ......... Time: 2 seconds OK (9 tests, 29 assertions) kguest:/usr/share/php/tests/PEAR_Size/tests$
 [2008-11-19 23:10 UTC] doconnor (Daniel O'Connor)
Ah hah. Pesky; I will fix up the CI environment tonight