Author: scabanovich
Date: 2008-10-29 10:37:15 -0400 (Wed, 29 Oct 2008)
New Revision: 11292
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2828Test.java
Log:
Pool for EL parsers implemented.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2828Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2828Test.java 2008-10-29
14:28:24 UTC (rev 11291)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2828Test.java 2008-10-29
14:37:15 UTC (rev 11292)
@@ -77,15 +77,15 @@
private void checkELParser(ELParser elParser) {
ELModel elModel1 = elParser.parse("#{faces.context}"); //$NON-NLS-1$
assertNotNull(elModel1);
- assertEquals("There shouldn't be
errors",elParser.getSyntaxErrors().size(),0); //$NON-NLS-1$
+ assertEquals("There shouldn't be
errors",elModel1.getSyntaxErrors().size(),0); //$NON-NLS-1$
ELModel elModel2 = elParser.parse("#{org.richfaces.SKIN}"); //$NON-NLS-1$
assertNotNull(elModel2);
- assertEquals("There shouldn't be
errors",elParser.getSyntaxErrors().size(),0); //$NON-NLS-1$
+ assertEquals("There shouldn't be
errors",elModel2.getSyntaxErrors().size(),0); //$NON-NLS-1$
ELModel elModel3 = elParser.parse("#{klsjdf lsaijf aslkjd; sikjfd}");
//$NON-NLS-1$
assertNotNull(elModel3);
- assertTrue("There should be errorrs",
elParser.getSyntaxErrors().size()>0); //$NON-NLS-1$
+ assertTrue("There should be errorrs",
elModel3.getSyntaxErrors().size()>0); //$NON-NLS-1$
}
Show replies by date