Author: mareshkau
Date: 2008-12-30 08:02:23 -0500 (Tue, 30 Dec 2008)
New Revision: 12840
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/3144/jbide3214test.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java
Log:
Fixing junit tests
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/3144/jbide3214test.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/3144/jbide3214test.xhtml.xml 2008-12-30
12:34:51 UTC (rev 12839)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/3144/jbide3214test.xhtml.xml 2008-12-30
13:02:23 UTC (rev 12840)
@@ -6,14 +6,14 @@
</COLGROUP>
<TR CLASS="dr-table-firstrow rich-table-firstrow">
<TD STYLE="background-color: green;" CLASS="dr-table-cell
rich-table-cell">
-<SPAN>
+<SPAN CLASS="vpe-text">
#{test.color}
</SPAN>
</TD>
</TR>
</TABLE>
<DIV CLASS="dr-table-hidden" STYLE="overflow: auto; width: 100px;
height: 100px;">
-<TABLE CLASS="dr-table rich-table">
+<TABLE CLASS="dr-table rich-sdt">
<COLGROUP SPAN="1">
</COLGROUP>
<TBODY HEIGHT="100" STYLE="background-color: blue;"
WIDTH="100px;">
@@ -50,9 +50,6 @@
</COLGROUP>
<TBODY>
</TBODY>
-<SPAN>
-ssssssssss
-</SPAN>
</TABLE>
</DIV>
</test>
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-12-30
12:34:51 UTC (rev 12839)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java 2008-12-30
13:02:23 UTC (rev 12840)
@@ -79,7 +79,7 @@
boolean str_exists=false;
for (ICompletionProposal completionProposal : results) {
String displayString = ((ICompletionProposal)
completionProposal).getDisplayString();
- if(displayString.startsWith("${msg.")) { //$NON-NLS-1$
+ if(displayString.startsWith("msg.")) { //$NON-NLS-1$
str_exists=true;
}
@@ -115,7 +115,7 @@
// Tests CA
ICompletionProposal[] results =checkOfCAByStartString(CA_NAME,
"JBIDE/788/testCAMessageBundlesAndEL.xhtml","",21,58);
//$NON-NLS-1$//$NON-NLS-2$
assertNotNull(results);
- assertTrue(results.length>2);
+ assertTrue(results.length>=2);
for(ICompletionProposal completionProposal : results) {
if(completionProposal instanceof AutoContentAssistantProposal ) {
String displayString = ((ICompletionProposal)
completionProposal).getDisplayString();
Show replies by date