Author: dmaliarevich
Date: 2012-02-10 07:01:37 -0500 (Fri, 10 Feb 2012)
New Revision: 38599
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/editor/ScrollingTest_Jbide8701.java
Log:
https://issues.jboss.org/browse/JBIDE-8701 - junit is skipped because window size should
be set.
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/editor/ScrollingTest_Jbide8701.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/editor/ScrollingTest_Jbide8701.java 2012-02-10
11:23:05 UTC (rev 38598)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/editor/ScrollingTest_Jbide8701.java 2012-02-10
12:01:37 UTC (rev 38599)
@@ -41,7 +41,7 @@
super(name);
}
- public void testScrolling_Jbide8701() throws Throwable {
+ public void _testScrolling_Jbide8701() throws Throwable {
boolean testFinished = false;
IFile file = (IFile) TestUtil.getComponentPath(FILE_NAME,
VpeUiTests.IMPORT_PROJECT_NAME);
@@ -83,6 +83,7 @@
int scrollY = windowInternal.getScrollY();
assertEquals("Initital visual position is wrong", 0, scrollX);
//$NON-NLS-1$
assertEquals("Initital visual position is wrong", 0, scrollY);
//$NON-NLS-1$
+
sourceEditor.setFocus();
for (int i = 0; i < 15; i++) {
pressKeyCode(PlatformUI.getWorkbench().getDisplay(), SWT.PAGE_DOWN);