Author: yradtsevich
Date: 2009-01-12 12:08:23 -0500 (Mon, 12 Jan 2009)
New Revision: 12998
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2010Test.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2505Test.java
Log:
CODING IN PROGRESS - issue JBIDE-3511: Text body of h:outputText and h:outputFormat is
rendered in incorrect sequence.
https://jira.jboss.org/jira/browse/JBIDE-3511
- JUnit tests have been fixed partially.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2010Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2010Test.java 2009-01-12
17:06:21 UTC (rev 12997)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2010Test.java 2009-01-12
17:08:23 UTC (rev 12998)
@@ -59,10 +59,10 @@
TestUtil.findAllElementsByName(rst, elements, HTML.TAG_SPAN);
- assertEquals("Count of divs should be equals 1", 1, elements.size());
//$NON-NLS-1$
+ assertEquals("Number of divs should be equals 3", 3, elements.size());
//$NON-NLS-1$
final nsIDOMElement spanOne = (nsIDOMElement)
elements.get(0).queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
- assertEquals("Style attribute should be substituted", VALUE_4,
spanOne.getFirstChild().getNodeValue()); //$NON-NLS-1$
+ assertEquals("Style attribute should be substituted", VALUE_4,
spanOne.getLastChild().getFirstChild().getNodeValue()); //$NON-NLS-1$
}
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2505Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2505Test.java 2009-01-12
17:06:21 UTC (rev 12997)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2505Test.java 2009-01-12
17:08:23 UTC (rev 12998)
@@ -44,9 +44,9 @@
setException(null);
//test for element node
- testCaretManupulationWithoutElSubstitution("JBIDE/2505/testJBIDE2505.jsp",11,
34); //$NON-NLS-1$
+ testCaretManupulationWithoutElSubstitution("JBIDE/2505/testJBIDE2505.jsp",
11, 34); //$NON-NLS-1$
//test for sourceNode
- testCaretManupulationWithoutElSubstitution("JBIDE/2505/testJBIDE2505.jsp",12,
58); //$NON-NLS-1$
+ testCaretManupulationWithoutElSubstitution("JBIDE/2505/testJBIDE2505.jsp",
12, 58); //$NON-NLS-1$
if(getException()!=null) {
throw getException();
}