ZF-8809: ZF 1.10 unit tests should all pass.

Issue Type: Bug Created: 2010-01-13T10:06:24.000+0000 Last Updated: 2010-02-12T11:07:19.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Ralph Schindler (ralph) Assignee: Ralph Schindler (ralph) Tags: Related issues: - ZF-8347

Attachments: - AllTestsR20372.txt


Ensure all unit tests pass.

  • Run all DB vendor tests (win/*nix 5.3 & 5.2).
  • All platforms ** Custom TestConfiguration.php executes twice
  • *nix ** Fix all 64 bit issues. (see attached file)
  • On windows: ** Zend_Queue_Adapter_Activemq test hangs suite (win32 5.2.11). ** Zend_View overrunes ob buffer (fatal error) ** More Failures attached

h4. Issues By Component:

h5. Zend_Navigation / Zend_View_Helper_Navigation

Consistently reproduced with phpunit AllTests, but not reproduced with phpunit Zend_View_AllTests.

<pre class="highlight">
1) Zend_View_Helper_Navigation_BreadcrumbsTest::testTranslationUsingZendTranslate
Zend_Navigation_Exception: Invalid argument: Unable to determine class to instantiate


h5. Zend_OAuth

Failing tests:

<pre class="highlight">

h5. Zend_Pdf

Should this be an incomplete or skip:

<pre class="highlight">
6) Zend_Pdf_ActionTest::testPhpVersionBug
The expected bug exists. Please verify.


h5. Zend_Search_Lucene

<pre class="highlight">
7) Zend_Search_Lucene_SearchTest::testSortingResult
Failed asserting that 

<pre class="highlight"><a href=""></a>

<pre class="highlight">

<pre class="highlight">


Posted by Michael Rehbein (tech13) on 2010-01-14T10:24:34.000+0000

Partial fix for non-5.3 issues. Only was running the MySqli and sqlite tests.

Also include adjustments to the tests because many of the tests were being skipped with 'too many connections', so added in the tearDown closing the DB connection.

Had an issue with: Zend_Db_Table_Pdo_MysqlTest::testTableFetchallCanHandleWhereWithParameritizationCharacters Zend_Db_Statement_Exception: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound but it went away when I started looking for it.

This patch still leaves the error: Zend_Db_Adapter_Pdo_SqliteTest::testAdapterAlternateStatement Zend_Db_Statement_Exception: SQLSTATE[HY000]: General error: 1 no such table: zfbugs

tested on Debian Lenny

Posted by Ralph Schindler (ralph) on 2010-01-15T06:24:20.000+0000

Hey Michael, known issue, and I will be working on it. Thanks for the heads up!

Posted by Thomas Weidner (thomas) on 2010-01-17T23:49:52.000+0000

View_Helper_Currency tests should now pass on trunk and branch.

I am actually not able to reproduce the other issues on Zend_Date/Zend_Validate. And I am missing some informations to reproduce. Your file for Windows-Tests is also stripped.

Note: Is it possible to output the SVN release where unittests have been made from? Because there is no note and some of the mentioned classes like Zend_Validate_Barcode have been undertaken several changes in the last days.

I will attach my todays result for AllTests on Windows (5.2.11) with default installation and default config file in a few minutes

Posted by Thomas Weidner (thomas) on 2010-01-18T01:38:39.000+0000

AllTests for r20372 on WinXP, PHP 5.2.11, default installation & configuration

Have you found an issue?

See the Overview section for more details.


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

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