diff options
author | Knut Radloff <kradloff> | 2002-10-25 17:37:16 +0000 |
---|---|---|
committer | Knut Radloff <kradloff> | 2002-10-25 17:37:16 +0000 |
commit | f0a53ab4d359c72b67e33354bc3154420d41d9f1 (patch) | |
tree | fd652dd8274842c35c27ba2a9ef99424f82da171 /tests | |
parent | bd48e2b84a6482ec594a06a3c3531b924107c392 (diff) | |
download | eclipse.platform.swt-f0a53ab4d359c72b67e33354bc3154420d41d9f1.tar.gz eclipse.platform.swt-f0a53ab4d359c72b67e33354bc3154420d41d9f1.tar.xz eclipse.platform.swt-f0a53ab4d359c72b67e33354bc3154420d41d9f1.zip |
Fix for new setTopIndex spec
Diffstat (limited to 'tests')
-rw-r--r-- | tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java index 8635069937..b5c674f63e 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java @@ -1380,7 +1380,7 @@ public void test_getTextLimit() { } public void test_getTopIndex() { - text.setText("Line0\r\n"); + text.setText("Line0\r\nLine0a\r\n"); assertTrue(":a:", text.getTopIndex() == 0); text.setTopIndex(-2); @@ -1402,7 +1402,7 @@ public void test_getTopIndex() { } public void test_getTopPixel() { - text.setText("Line0\r\n"); + text.setText("Line0\r\nLine0a\r\n"); assertTrue(":a:", text.getTopPixel() == 0); text.setTopIndex(-2); @@ -3937,7 +3937,7 @@ public void test_setTopIndexI(){ text.setTopIndex(1); assertTrue(":b:", text.getTopIndex() == 0); - text.setText("Line0\r\n"); + text.setText("Line0\r\nLine0a\r\n"); text.setTopIndex(-2); assertTrue(":c:", text.getTopIndex() == 0); |