[
https://issues.apache.org/jira/browse/MYFACESTEST-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rudy De Busscher reopened MYFACESTEST-20:
-----------------------------------------
MockCompositeValueExpression is causing some MyFaces Core Impl tests to fail.
Disabled the usage of it in MockExpressionFactory#createValueExpression()
Code is left in the trunk (for the moment, determine later, after some
additional testing, what to do with it.)
> Support for composite value expressions like 'test #{foo}'
> ----------------------------------------------------------
>
> Key: MYFACESTEST-20
> URL: https://issues.apache.org/jira/browse/MYFACESTEST-20
> Project: MyFaces Test
> Issue Type: Improvement
> Components: Mock Objects
> Affects Versions: 1.0.0-SNAPSHOT
> Reporter: Rudy De Busscher
> Attachments: MyfacesTest-20.patch
>
>
> For the moment, the MockValueExpression class supports only literals and pure
> references. Expressions wich are a composite, like mixing literal with
> references, are not supported (throws IllegalArgumentException)
> A MockCompositeValueExpression is introduced in this patch that allows such
> composites by creating a List of MockValueExpression. During evaluation of
> the expression, the result of the individual parts are merged together.
> This MockCompositeValueExpression class is used by default by the factory
> (MockExpressionFactory)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.