Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCarolyn MacLeod2005-04-25 19:50:55 +0000
committerCarolyn MacLeod2005-04-25 19:50:55 +0000
commit4d7856cded5d5917b5fabbf017a505019d7dee98 (patch)
tree9d1ea92f62abe1c2f6ff9dad364c1ed1fe056974 /tests
parent7a231ed9604b1686e777b7b8e593a98605fc8b03 (diff)
downloadeclipse.platform.swt-4d7856cded5d5917b5fabbf017a505019d7dee98.tar.gz
eclipse.platform.swt-4d7856cded5d5917b5fabbf017a505019d7dee98.tar.xz
eclipse.platform.swt-4d7856cded5d5917b5fabbf017a505019d7dee98.zip
revert to remove setSelection(new TableItem[]{null});
which was failing on GTK and Windows.
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java
index 05affefaf3..c0e1ea541e 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java
@@ -1446,9 +1446,6 @@ public void test_setSelection$Lorg_eclipse_swt_widgets_TableItem() {
table.setSelection(new TableItem[]{});
assertEquals(0, table.getSelectionCount());
- table.setSelection(new TableItem[]{null});
- assertEquals(0, table.getSelectionCount());
-
table.setSelection(new TableItem[]{items[0], items[3], items[2]});
assertSame(new TableItem[]{items[0], items[2], items[3]}, table.getSelection());
table.setSelection(new TableItem[]{items[3], items[2], items[1]});

Back to the top