Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java
index e6fe80e3a1..35e386629a 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java
@@ -1122,45 +1122,45 @@ public void test_setSizeLorg_eclipse_swt_graphics_Point() {
}
private void add() {
- combo.add("this");
- combo.add("is");
- combo.add("SWT");
+ combo.add("this");
+ combo.add("is");
+ combo.add("SWT");
}
@Test
public void test_consistency_MouseSelection () {
- add();
- consistencyPrePackShell();
- consistencyEvent(combo.getSize().x-10, 5, 30, combo.getItemHeight()*2,
- ConsistencyUtility.SELECTION);
+ add();
+ consistencyPrePackShell();
+ consistencyEvent(combo.getSize().x-10, 5, 30, combo.getItemHeight()*2,
+ ConsistencyUtility.SELECTION);
}
@Test
public void test_consistency_KeySelection () {
- add();
- consistencyEvent(0, SWT.ARROW_DOWN, 0, 0, ConsistencyUtility.KEY_PRESS);
+ add();
+ consistencyEvent(0, SWT.ARROW_DOWN, 0, 0, ConsistencyUtility.KEY_PRESS);
}
@Test
public void test_consistency_EnterSelection () {
- add();
- consistencyEvent(10, 13, 0, 0, ConsistencyUtility.KEY_PRESS);
+ add();
+ consistencyEvent(10, 13, 0, 0, ConsistencyUtility.KEY_PRESS);
}
@Test
public void test_consistency_MenuDetect () {
- add();
- consistencyPrePackShell();
- //on arrow
- consistencyEvent(combo.getSize().x-10, 5, 3, 0, ConsistencyUtility.MOUSE_CLICK);
- //on text
- consistencyEvent(10, 5, 3, ConsistencyUtility.ESCAPE_MENU, ConsistencyUtility.MOUSE_CLICK);
+ add();
+ consistencyPrePackShell();
+ //on arrow
+ consistencyEvent(combo.getSize().x-10, 5, 3, 0, ConsistencyUtility.MOUSE_CLICK);
+ //on text
+ consistencyEvent(10, 5, 3, ConsistencyUtility.ESCAPE_MENU, ConsistencyUtility.MOUSE_CLICK);
}
@Test
public void test_consistency_DragDetect () {
- add();
- consistencyEvent(10, 5, 20, 10, ConsistencyUtility.MOUSE_DRAG);
+ add();
+ consistencyEvent(10, 5, 20, 10, ConsistencyUtility.MOUSE_DRAG);
}
@Test

Back to the top