aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-01-16 12:08:04 (EST)
committerCarolyn MacLeod2013-04-09 10:49:23 (EDT)
commitf653da87c786c0ae5e1fcf72a64c112f66a18b4d (patch)
treeacc0584a501eec35caa00e06a7e3c3eb0017c22e
parent4b6c91b967928f7f5d6333d767a972b59e942907 (diff)
downloadeclipse.platform.swt-f653da87c786c0ae5e1fcf72a64c112f66a18b4d.zip
eclipse.platform.swt-f653da87c786c0ae5e1fcf72a64c112f66a18b4d.tar.gz
eclipse.platform.swt-f653da87c786c0ae5e1fcf72a64c112f66a18b4d.tar.bz2
Bug 381915 - [JDK7]test_getTopIndex fails in org.eclipse.swt.tests
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java
index 24ad519..7ccfa07 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java
@@ -784,7 +784,7 @@ public void test_getTextLimit() {
}
public void test_getTopIndex() {
- text.setSize(50,text.getLineHeight() * 2);
+ text.setSize(50,text.getLineHeight());
text.setTopIndex(0);
assertEquals(0, text.getTopIndex());
text.append(delimiterString +"0123456789");