Issues

ZF-2595: Unit test problems

Issue Type: Unit Tests: Problem Created: 2008-02-06T17:54:42.000+0000 Last Updated: 2008-08-30T02:44:10.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Simone Carletti (weppos) Assignee: Darby Felton (darby) Tags: - Zend_Service_Simpy

Related issues: Attachments:

Description

<pre class="highlight">
Macintosh:tests weppos$ phpunit --verbose Zend_Service_SimpyTest
PHPUnit 3.2.11 by Sebastian Bergmann.

Zend_Service_SimpyTest
....EEEEE..EEE.E


Time: 01:52

There were 9 errors:

1) testGetTags(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_TagSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/TagSet.php:71
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:266

2) testRenameTag(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_TagSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/TagSet.php:71
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:584
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:286

3) testSplitTag(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_TagSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/TagSet.php:71
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:584
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:317

4) testMergeTags(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_TagSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/TagSet.php:71
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:584
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:348

5) testRemoveTag(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_TagSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/TagSet.php:71
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:584
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:377

6) testGetNotes(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_NoteSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/NoteSet.php:71
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:435

7) testDeleteNote(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_NoteSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/NoteSet.php:71
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:484

8) testGetWatchlists(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_WatchlistSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/WatchlistSet.php:70
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:499

9) testWatchlistFilters(Zend_Service_SimpyTest)
Undefined property:  Zend_Service_Simpy_WatchlistFilterSet::$_links
/Users/weppos/Sites/zend.com.framework/trunk/library/Zend/Service/Simpy/WatchlistFilterSet.php:65
/Users/weppos/Sites/zend.com.framework/trunk/tests/Zend/Service/SimpyTest.php:564

FAILURES!
Tests: 16, Errors: 9.
Macintosh:tests weppos$ 

Comments

Posted by Darby Felton (darby) on 2008-02-29T16:22:04.000+0000

Following results for latest trunk (on Linux, PHP 5.2.5, PHPUnit 3.2.15):

<pre class="literal">
There was 1 error:

1) testRenameTag(Zend_Service_SimpyTest)
Zend_Http_Client_Exception: Unable to read response, or response is empty
/home/darby/framework/trunk/library/Zend/Rest/Client.php:135
/home/darby/framework/trunk/library/Zend/Service/Simpy.php:81
/home/darby/framework/trunk/library/Zend/Service/Simpy.php:170
/home/darby/framework/trunk/tests/Zend/Service/SimpyTest.php:300

--

There was 1 failure:

1) testGetNotes(Zend_Service_SimpyTest)
Note set does not have the expected size
Failed asserting that 

Posted by Wil Sinclair (wil) on 2008-03-21T17:05:32.000+0000

This issue should have been fixed for the 1.5 release.

Posted by Darby Felton (darby) on 2008-04-08T15:25:36.000+0000

This issue seems to have been introduced with SVN r7329 and resolved with SVN r7833, though this issue was neither referred by the commit message nor updated pursuant to the commit. The changes do not appear to have been propagated to the release-1.0 branch, and the changes pre-date (i.e., are included in) the release-1.5 branch.

Posted by Darby Felton (darby) on 2008-04-08T15:28:20.000+0000

This issue does not appear to have affected any release of Zend Framework.

Posted by Wil Sinclair (wil) on 2008-08-30T02:44:10.000+0000

Cleaning up fix for versions to only include production releases.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts