Author: mareshkau
Date: 2008-09-22 10:22:21 -0400 (Mon, 22 Sep 2008)
New Revision: 10396
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java
Log:
JBIDE-2444
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java 2008-09-22
12:54:18 UTC (rev 10395)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java 2008-09-22
14:22:21 UTC (rev 10396)
@@ -78,21 +78,19 @@
assertNotNull(results);
assertTrue("The lenft should be more than 0",results.length>0);
//$NON-NLS-1$
for (ICompletionProposal completionProposal : results) {
- String displayString = ((ICompletionProposal) completionProposal).getDisplayString();
-
+ String displayString = ((ICompletionProposal)
completionProposal).getDisplayString();
if(!displayString.startsWith("${msg.")) { //$NON-NLS-1$
- //TODO Max Areshkau Fix When JBIDE-2498 will be fixed
fail("String doesn't matches"); //$NON-NLS-1$
}
}
- results = checkOfCAByStartString(CA_NAME,
"JBIDE/788/testCAPathProposals.xhtml","",11,41,false);
//$NON-NLS-1$//$NON-NLS-2$
+ results = checkOfCAByStartString(CA_NAME,
"JBIDE/788/testCAPathProposals.xhtml","",11,43,false);
//$NON-NLS-1$//$NON-NLS-2$
assertNotNull(results);
for(ICompletionProposal completionProposal : results) {
String displayString = ((ICompletionProposal) completionProposal).getDisplayString();
- if(!displayString.contains("temp")) { //$NON-NLS-1$
+ if(!displayString.contains("temp") &&
!displayString.startsWith("#{")) { //$NON-NLS-1$ //$NON-NLS-2$
fail("String doesn't matches"); //$NON-NLS-1$
}
}