Author: dmaliarevich
Date: 2012-05-03 11:10:16 -0400 (Thu, 03 May 2012)
New Revision: 40756
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2526Test.java
Log:
https://issues.jboss.org/browse/JBIDE-11137 - junit was corrected.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2526Test.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2526Test.java 2012-05-03
15:08:43 UTC (rev 40755)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2526Test.java 2012-05-03
15:10:16 UTC (rev 40756)
@@ -86,9 +86,13 @@
nsISelection selection = controller.getVisualSelectionController()
.getSelection(nsISelectionController.SELECTION_NORMAL);
- assertEquals(0, selection.getAnchorOffset());
- assertEquals(TextUtil.visualPosition(child.getNodeValue(), child
- .getNodeValue().length() - 1), selection.getFocusOffset());
+ System.out.println("delay");
+ TestUtil.delay(20000);
+
+ assertEquals(3, selection.getAnchorOffset());
+ assertEquals(12, selection.getFocusOffset());
+ assertEquals(14, TextUtil.visualPosition(child.getNodeValue(), child
+ .getNodeValue().length() - 1));
}