Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorConrad Groth2019-09-13 12:14:06 -0400
committerNiraj Modi2019-09-16 03:34:53 -0400
commit04de8d58a6bc8a5af52d39d0764972f496d10db0 (patch)
tree3a9fc35cf407ccde6b40dc0e634abe0f83707ace /tests
parent4825851c13753a2ab3fa86aa20c66678b2d8cee4 (diff)
downloadeclipse.platform.swt-04de8d58a6bc8a5af52d39d0764972f496d10db0.tar.gz
eclipse.platform.swt-04de8d58a6bc8a5af52d39d0764972f496d10db0.tar.xz
eclipse.platform.swt-04de8d58a6bc8a5af52d39d0764972f496d10db0.zip
Bug 546333 - [Win32] test_disposeItemNotTriggerSelection JUnit test
failing. Windows notifies the parent Widget (the Tree) about the deleted item. This event is dispatched to the last control with the last event type, which causes an SelectionEvent for a TreeItem. This case was already covered for trees with the SWT.MULTI flag, but obviously also happens for trees with SWT.SINGLE flag. Change-Id: I66dfbf40041824cb15c40f2d6d26f08069e60751 Signed-off-by: Conrad Groth <info@conrad-groth.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java
index 3485390f67..48bfb9d6b9 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java
@@ -845,14 +845,6 @@ public void test_consistency_DragDetect () {
@Test
public void test_disposeItemNotTriggerSelection() {
- if (SwtTestUtil.isWindows) {
- // TODO Fix Windows failure.
- if (SwtTestUtil.verbose) {
- System.out
- .println("Excluded test_disposeItemNotTriggerSelection(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Tree).");
- }
- return;
- }
Display display = shell.getDisplay();
shell.setLayout(new FillLayout());
Tree tree = new Tree (shell, SWT.BORDER);

Back to the top