summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2011-05-26 10:12:33 (EDT)
committerSteffen Kriese2011-05-26 10:12:33 (EDT)
commiteddfec5b387e8e26a002a63721b01406c8700c8f (patch)
treedc8864f036fd41c0d2ef40f698745dae18e7cb79
parent4080125f3e25d05720bcdc60158089a9cbc986c8 (diff)
downloadorg.eclipse.riena-eddfec5b387e8e26a002a63721b01406c8700c8f.zip
org.eclipse.riena-eddfec5b387e8e26a002a63721b01406c8700c8f.tar.gz
org.eclipse.riena-eddfec5b387e8e26a002a63721b01406c8700c8f.tar.bz2
fixed test due to changes in CompletionCombo (see Bug 347292)
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/CompletionComboRidgetTest.java16
1 files changed, 4 insertions, 12 deletions
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/CompletionComboRidgetTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/CompletionComboRidgetTest.java
index e12789b..91cc635 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/CompletionComboRidgetTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/CompletionComboRidgetTest.java
@@ -175,17 +175,9 @@ public class CompletionComboRidgetTest extends AbstractComboRidgetTest {
listener.assertSelection(5, "A2", "A1");
- UITestHelper.sendString(control.getDisplay(), "\b");
-
- listener.assertSelection(6, "A1", "");
-
- UITestHelper.sendString(control.getDisplay(), "\b");
-
- listener.assertSelection(6, "A1", "");
-
UITestHelper.sendKeyAction(control.getDisplay(), UITestHelper.KC_ARROW_DOWN);
- listener.assertSelection(7, "", "A1");
+ listener.assertSelection(6, "A1", "A2");
}
/**
@@ -222,15 +214,15 @@ public class CompletionComboRidgetTest extends AbstractComboRidgetTest {
UITestHelper.sendString(control.getDisplay(), "\b");
- listener.assertSelection(4, "B", "");
+ listener.assertSelection(3, "A2", "B");
UITestHelper.sendString(control.getDisplay(), "\b");
- listener.assertSelection(4, "B", "");
+ listener.assertSelection(3, "A2", "B");
UITestHelper.sendKeyAction(control.getDisplay(), UITestHelper.KC_ARROW_DOWN);
- listener.assertSelection(5, "", "A1");
+ listener.assertSelection(4, "B", "C");
}
/**