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

Bug #15290 Unit tests: undefined indexes
Submitted: 2008-12-10 21:41 UTC
From: doconnor Assigned: kuboa
Status: Closed Package: Net_UserAgent_Mobile (version CVS)
PHP Version: 5.2.6 OS:
Roadmaps: 1.0.0RC2    
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 : 11 + 28 = ?

 
 [2008-12-10 21:41 UTC] doconnor (Daniel O'Connor)
Description: ------------ Unit tests are broken against cvs. Test script: --------------- clockwerx@clockwerx-desktop:~/pear/Net_UserAgent_Mobile$ php tests/AllTests.php Expected result: ---------------- No errors Actual result: -------------- 64) testShouldProvideTheScreenInformationOfAUserAgent(Net_UserAgent_Mobile_DoCoMoTestCase) Undefined index: NET_USERAGENT_MOBILE_DoCoMo_ScreenInfo_Instance /usr/share/php/Net/UserAgent/Mobile/DoCoMo/ScreenInfo.php:1710 /usr/share/php/Net/UserAgent/Mobile/DoCoMo.php:266 /usr/share/php/Net/UserAgent/Mobile/Common.php:229 /home/clockwerx/pear/Net_UserAgent_Mobile/tests/Mobile/DoCoMoTestCase.php:1348 /home/clockwerx/pear/AllTests.php:136 /home/clockwerx/pear/AllTests.php:525 65) testShouldUseAnExternalScreenInformationIfTheEnvironmentVariableIsGiven1(Net_UserAgent_Mobile_DoCoMoTestCase) Undefined index: NET_USERAGENT_MOBILE_DoCoMo_ScreenInfo_Instance /usr/share/php/Net/UserAgent/Mobile/DoCoMo/ScreenInfo.php:1710 /usr/share/php/Net/UserAgent/Mobile/DoCoMo.php:266 /usr/share/php/Net/UserAgent/Mobile/Common.php:229 /home/clockwerx/pear/Net_UserAgent_Mobile/tests/Mobile/DoCoMoTestCase.php:1365 /home/clockwerx/pear/AllTests.php:136 /home/clockwerx/pear/AllTests.php:525

Comments

 [2008-12-27 05:32 UTC] doconnor (Daniel O'Connor)
Current other failure: 45) testShouldUseAnExternalScreenInformationIfTheEnvironmentVariableIsGiven1(Net_UserAgent_Mobile_DoCoMoTestCase) Failed asserting that <integer:240> matches expected value <integer:999>. /home/clockwerx/pear/Net_UserAgent_Mobile/tests/Mobile/DoCoMoTestCase.php:1367 /home/clockwerx/pear/AllTests.php:136 /home/clockwerx/pear/AllTests.php:525
 [2008-12-29 16:53 UTC] kuboa (KUBO Atsuhiro)
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.