ZF-11596: ZendX's unit tests fail with 1 error and 4 failures

Issue Type: Bug Created: 2011-07-23T11:18:58.000+0000 Last Updated: 2012-04-27T08:32:43.000+0000 Status: Open Fix version(s): Reporter: Kim Blomqvist (kblomqvist) Assignee: Ben Scholzen (dasprid) Tags: - ZendX_Console_Process_Unix

Related issues: - ZF-10460

Attachments: - ZF-11596.patch


Steps to reproduce:

<pre class="highlight">
cd /path/to/zf-extras/tests
phpunit --include-path=/path/to/zf/tests AllTests.php

Test results:

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

1) ZendX_JQuery_Form_DecoratorTest::testUiWidgetPaneRenderingNoPaneWhenElementHasNoView
Zend_Form_Decorator_Exception: UiWidgetPane Decorators have to have a jQueryParam 'title' to render. This title can been set via setJQueryParam('title') on the parent element.



There were 4 failures:

1) ZendX_Console_Process_UnixTest::testAutomaticEnding
Failed asserting that 


Posted by Kim Blomqvist (kblomqvist) on 2011-07-23T15:54:01.000+0000

Patch attached...

I have removed the following test method because getView() inside the render() method will always return a view because it will be created if not set.

<pre class="highlight">
-    public function testUiWidgetPaneRenderingNoPaneWhenElementHasNoView()
-    {
-        $spinner = new ZendX_JQuery_Form_Element_Spinner("spinner1");
-        $pane = new ZendX_JQuery_Form_Decorator_TabPane();
-        $pane->setElement($spinner);
-        $this->assertEquals("justthis", $pane->render("justthis"));
-    }

Posted by Satoru Yoshida (satoruyoshida) on 2011-07-29T03:29:28.000+0000

Set components and Auto-reassign

Posted by Ramon Henrique Ornelas (ramon) on 2011-07-29T04:51:35.000+0000

Related with issue ZF-10460

Posted by Frank Brückner (frosch) on 2012-04-27T08:31:56.000+0000

For ZendX_JQuery all tests passed. (Version 1.11.11)

Posted by Frank Brückner (frosch) on 2012-04-27T08:32:43.000+0000

ZendX_JQuery removed as an affected component.

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.