[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9515) EL code completion is broken
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Wed Aug 10 20:46:53 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov updated JBIDE-9515:
----------------------------------
Description:
We get a test failure because of these issues:
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.tools.cdi.ui.test.CDIUIAllTests
Tests run: 79, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 120.128 sec <<< FAILURE!
testEL(org.jboss.tools.cdi.ui.test.CATest) Time elapsed: 7.506 sec <<< FAILURE!
junit.framework.AssertionFailedError: Proposal game.value not found!
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.jboss.tools.common.base.test.contentassist.AbstractContentAssistantTestCase.checkProposals(AbstractContentAssistantTestCase.java:112)
at org.jboss.tools.common.base.test.contentassist.AbstractContentAssistantTestCase.checkProposals(AbstractContentAssistantTestCase.java:87)
at org.jboss.tools.cdi.ui.test.CATest.testEL(CATest.java:42)
{code}
Steps to Reproduce:
EXECUTE: Import https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/tck as an existing eclipse project
EXECUTE: Copy https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/lookup to the project source folder
EXECUTE: Build the project
EXECUTE: Open /tck/WebContent/test.jsp
EXECUTE: Ctrl+Space at *rendered="#{(game.|* (line 11)
EXECUTE: Select game.value in the proposal list
ASSERT: You should get *rendered="#{(game.valuevalue == 'foo' and game.value == 'foo') ? game.value == 'foo' : false}"/>*
FAILURE: You get rendered="#{(*${*game.valuevalue == 'foo' and game.value == 'foo') ? game.value == 'foo' : false}"/>
EXECUTE: Ctrl+Space at *value="#{sheep.name}"* (line 10)
ASSERT: You must see the only proposal *name*
FAILURE: You see two duplicated proposals *name*
EXECUTE: Select the first proposal *name*
ASSERT: You should get *value="#{sheep.namename}"*
FAILURE: You get value=*"name"*#{sheep.name}"
EXECUTE: Select the second proposal *name*
FAILURE: You get value="#{*${*sheep.namename}"
EXECUTE: Open /tck/WebContent/elValidation.xhtml
EXECUTE: Add the following code to the page:
{code}
<h:outputText value="#{sheep.name}"
rendered="#{(game.value == 'foo' and game.value == 'foo') ? game.value == 'foo' : false}"/>
{code}
EXECUTE: Ctrl+Space at *value="#{sheep.name}"*
ASSERT: You must see the only proposal *name*
FAILURE: You see two duplicated proposals *name*
EXECUTE: Select the first or second proposal *name*
ASSERT: You should get *value="#{sheep.namename}"*
FAILURE: You get value=*"name"*
was:
EXECUTE: Import https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects/tck as an existing eclipse project
EXECUTE: Copy https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/lookup to the project source folder
EXECUTE: Build the project
EXECUTE: Open /tck/WebContent/test.jsp
EXECUTE: Ctrl+Space at *rendered="#{(game.|* (line 11)
EXECUTE: Select game.value in the proposal list
ASSERT: You should get *rendered="#{(game.valuevalue == 'foo' and game.value == 'foo') ? game.value == 'foo' : false}"/>*
FAILURE: You get rendered="#{(*${*game.valuevalue == 'foo' and game.value == 'foo') ? game.value == 'foo' : false}"/>
EXECUTE: Ctrl+Space at *value="#{sheep.name}"* (line 10)
ASSERT: You must see the only proposal *name*
FAILURE: You see two duplicated proposals *name*
EXECUTE: Select the first proposal *name*
ASSERT: You should get *value="#{sheep.namename}"*
FAILURE: You get value=*"name"*#{sheep.name}"
EXECUTE: Select the second proposal *name*
FAILURE: You get value="#{*${*sheep.namename}"
EXECUTE: Open /tck/WebContent/elValidation.xhtml
EXECUTE: Add the following code to the page:
{code}
<h:outputText value="#{sheep.name}"
rendered="#{(game.value == 'foo' and game.value == 'foo') ? game.value == 'foo' : false}"/>
{code}
EXECUTE: Ctrl+Space at *value="#{sheep.name}"*
ASSERT: You must see the only proposal *name*
FAILURE: You see two duplicated proposals *name*
EXECUTE: Select the first or second proposal *name*
ASSERT: You should get *value="#{sheep.namename}"*
FAILURE: You get value=*"name"*
We get a test failure because of these issues:
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.tools.cdi.ui.test.CDIUIAllTests
Tests run: 79, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 120.128 sec <<< FAILURE!
testEL(org.jboss.tools.cdi.ui.test.CATest) Time elapsed: 7.506 sec <<< FAILURE!
junit.framework.AssertionFailedError: Proposal game.value not found!
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.jboss.tools.common.base.test.contentassist.AbstractContentAssistantTestCase.checkProposals(AbstractContentAssistantTestCase.java:112)
at org.jboss.tools.common.base.test.contentassist.AbstractContentAssistantTestCase.checkProposals(AbstractContentAssistantTestCase.java:87)
at org.jboss.tools.cdi.ui.test.CATest.testEL(CATest.java:42)
{code}
> EL code completion is broken
> ----------------------------
>
> Key: JBIDE-9515
> URL: https://issues.jboss.org/browse/JBIDE-9515
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml source editing
> Affects Versions: 3.3.0.M3
> Reporter: Alexey Kazakov
> Assignee: Victor Rubezhny
> Priority: Blocker
> Fix For: 3.3.0.M3
>
>
> We get a test failure because of these issues:
> {code}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.tools.cdi.ui.test.CDIUIAllTests
> Tests run: 79, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 120.128 sec <<< FAILURE!
> testEL(org.jboss.tools.cdi.ui.test.CATest) Time elapsed: 7.506 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Proposal game.value not found!
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.jboss.tools.common.base.test.contentassist.AbstractContentAssistantTestCase.checkProposals(AbstractContentAssistantTestCase.java:112)
> at org.jboss.tools.common.base.test.contentassist.AbstractContentAssistantTestCase.checkProposals(AbstractContentAssistantTestCase.java:87)
> at org.jboss.tools.cdi.ui.test.CATest.testEL(CATest.java:42)
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list