Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSilenio Quarti2005-10-20 17:02:03 +0000
committerSilenio Quarti2005-10-20 17:02:03 +0000
commita48f630750d15613aaaf7bccf15bfa856a4f6cad (patch)
tree7409f26d05c552b7ec429c6558b2c99a327e5dfc /tests
parent4d7280c16129fa62812f37b106a5b714e44bee67 (diff)
downloadeclipse.platform.swt-a48f630750d15613aaaf7bccf15bfa856a4f6cad.tar.gz
eclipse.platform.swt-a48f630750d15613aaaf7bccf15bfa856a4f6cad.tar.xz
eclipse.platform.swt-a48f630750d15613aaaf7bccf15bfa856a4f6cad.zip
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java3
1 files changed, 3 insertions, 0 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 3090075756..f83c309115 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
@@ -348,6 +348,7 @@ public void test_cut() {
}
public void test_getCaretLineNumber() {
+ text.setBounds(0, 0, 500, 500);
assertTrue(":a:", text.getCaretLineNumber() == 0);
text.setText("Line0\r\n");
assertTrue(":b:", text.getCaretLineNumber() == 0);
@@ -482,6 +483,7 @@ public void test_getEditable() {
}
public void test_getLineCount() {
+ text.setBounds(0, 0, 500, 500);
assertEquals(1, text.getLineCount());
text.append("dddasd" + delimiterString);
assertEquals(2, text.getLineCount());
@@ -672,6 +674,7 @@ public void test_getTopPixel() {
}
public void test_insertLjava_lang_String() {
+ text.setBounds(0, 0, 500, 500);
try {
text.insert(null);
fail("No exception thrown for string == null");

Back to the top