Author: mareshkau
Date: 2008-09-26 10:55:32 -0400 (Fri, 26 Sep 2008)
New Revision: 10512
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2594Test.java
Log:
=junit test error fixing
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2594Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2594Test.java 2008-09-26
14:49:16 UTC (rev 10511)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2594Test.java 2008-09-26
14:55:32 UTC (rev 10512)
@@ -47,7 +47,7 @@
public void testReplaceGlobalElVariable(){
- String replaceString= KEY_6+"images/test.gif"; //$NON-NLS-1$
+ String replaceString=
"#{"+KEY_6+"}"+"images/test.gif"; //$NON-NLS-1$
//$NON-NLS-2$ //$NON-NLS-3$
String replacedString = ElService.getInstance().replaceEl(file, replaceString);
assertEquals("Should be equals " + globalElMap.get(KEY_6) +
"images/test.gif", replacedString, globalElMap.get(KEY_6) //$NON-NLS-1$
//$NON-NLS-2$
@@ -60,7 +60,7 @@
* @throws CoreException the core exception
*/
public void testOverrideLocalVariable() throws CoreException {
- String string1 = KEY_1+"/images/smalle.gif"; //$NON-NLS-1$
+ String string1 =
"${"+KEY_1+"}"+"/images/smalle.gif"; //$NON-NLS-1$
//$NON-NLS-2$ //$NON-NLS-3$
String replacedValue = ElService.getInstance().replaceEl(file, string1);
assertEquals("Should be equals " + globalElMap.get(KEY_1) +
"/images/smalle.gif", replacedValue, globalElMap.get(KEY_1) //$NON-NLS-1$
//$NON-NLS-2$
Show replies by date