Author: akazakov
Date: 2012-01-18 15:16:05 -0500 (Wed, 18 Jan 2012)
New Revision: 37954
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java
Log:
https://issues.jboss.org/browse/JBIDE-10661 Incorrect validation of ELs with syntax
errors
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java 2012-01-18
20:08:18 UTC (rev 37953)
+++
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java 2012-01-18
20:16:05 UTC (rev 37954)
@@ -258,7 +258,7 @@
TestUtil.validate(file);
- String messagePattern =
MessageFormat.format(ELValidationMessages.UNKNOWN_EL_VARIABLE_NAME, new
Object[]{ElCoreMessages.ExpressionRule_ExpectingJavaName});
+ String messagePattern = MessageFormat.format(ELValidationMessages.EL_SYNTAX_ERROR, new
Object[]{ElCoreMessages.ExpressionRule_ExpectingJavaName});
AbstractResourceMarkerTest.assertMarkerIsCreated(file, messagePattern, false, 7, 8);
messagePattern = MessageFormat.format(ELValidationMessages.UNKNOWN_EL_VARIABLE_NAME,
new Object[]{"abc."});