diff options
author | Christophe Cornu <ccornu> | 2003-02-26 21:36:17 +0000 |
---|---|---|
committer | Christophe Cornu <ccornu> | 2003-02-26 21:36:17 +0000 |
commit | 6b4e3d4fb61fd376a94dabd161efc92c061cbe6c (patch) | |
tree | 77aeedba0332c78593e23b76e861d0019739cdf7 /tests | |
parent | b5a539dc438f48f4a4482a273dad217f2aeed74a (diff) | |
download | eclipse.platform.swt-6b4e3d4fb61fd376a94dabd161efc92c061cbe6c.tar.gz eclipse.platform.swt-6b4e3d4fb61fd376a94dabd161efc92c061cbe6c.tar.xz eclipse.platform.swt-6b4e3d4fb61fd376a94dabd161efc92c061cbe6c.zip |
2.1 new API since 2.0.2
Diffstat (limited to 'tests')
13 files changed, 127 insertions, 2 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java index e6da2a07cc..9d26b486cb 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java @@ -70,6 +70,10 @@ public void test_setBackground$Lorg_eclipse_swt_graphics_Color$I() { warnUnimpl("Test test_setBackground$Lorg_eclipse_swt_graphics_Color$I not written"); } +public void test_setBackgroundLorg_eclipse_swt_graphics_Color() { + warnUnimpl("Test test_setBackgroundLorg_eclipse_swt_graphics_Color not written"); +} + public void test_setBackgroundLorg_eclipse_swt_graphics_Image() { warnUnimpl("Test test_setBackgroundLorg_eclipse_swt_graphics_Image not written"); } @@ -110,6 +114,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_getToolTipText"); methodNames.addElement("test_setAlignmentI"); methodNames.addElement("test_setBackground$Lorg_eclipse_swt_graphics_Color$I"); + methodNames.addElement("test_setBackgroundLorg_eclipse_swt_graphics_Color"); methodNames.addElement("test_setBackgroundLorg_eclipse_swt_graphics_Image"); methodNames.addElement("test_setFontLorg_eclipse_swt_graphics_Font"); methodNames.addElement("test_setImageLorg_eclipse_swt_graphics_Image"); @@ -128,6 +133,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_getToolTipText")) test_getToolTipText(); else if (getName().equals("test_setAlignmentI")) test_setAlignmentI(); else if (getName().equals("test_setBackground$Lorg_eclipse_swt_graphics_Color$I")) test_setBackground$Lorg_eclipse_swt_graphics_Color$I(); + else if (getName().equals("test_setBackgroundLorg_eclipse_swt_graphics_Color")) test_setBackgroundLorg_eclipse_swt_graphics_Color(); else if (getName().equals("test_setBackgroundLorg_eclipse_swt_graphics_Image")) test_setBackgroundLorg_eclipse_swt_graphics_Image(); else if (getName().equals("test_setFontLorg_eclipse_swt_graphics_Font")) test_setFontLorg_eclipse_swt_graphics_Font(); else if (getName().equals("test_setImageLorg_eclipse_swt_graphics_Image")) test_setImageLorg_eclipse_swt_graphics_Image(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java index 122fd9d50e..e7004fee98 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java @@ -66,6 +66,10 @@ public void test_getTabHeight() { warnUnimpl("Test test_getTabHeight not written"); } +public void test_getTopRight() { + warnUnimpl("Test test_getTopRight not written"); +} + public void test_getItemI() { warnUnimpl("Test test_getItemI not written"); } @@ -146,6 +150,10 @@ public void test_setTabHeightI() { warnUnimpl("Test test_setTabHeightI not written"); } +public void test_setTopRightLorg_eclipse_swt_widgets_Control() { + warnUnimpl("Test test_setTopRightLorg_eclipse_swt_widgets_Control not written"); +} + public static Test suite() { TestSuite suite = new TestSuite(); java.util.Vector methodNames = methodNames(); @@ -165,6 +173,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_onFocusLorg_eclipse_swt_widgets_Event"); methodNames.addElement("test_getClientArea"); methodNames.addElement("test_getTabHeight"); + methodNames.addElement("test_getTopRight"); methodNames.addElement("test_getItemI"); methodNames.addElement("test_getItemLorg_eclipse_swt_graphics_Point"); methodNames.addElement("test_getItemCount"); @@ -185,6 +194,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_setSelectionI"); methodNames.addElement("test_setSelectionLorg_eclipse_swt_custom_CTabItem"); methodNames.addElement("test_setTabHeightI"); + methodNames.addElement("test_setTopRightLorg_eclipse_swt_widgets_Control"); methodNames.addAll(Test_org_eclipse_swt_widgets_Composite.methodNames()); // add superclass method names return methodNames; } @@ -197,6 +207,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_onFocusLorg_eclipse_swt_widgets_Event")) test_onFocusLorg_eclipse_swt_widgets_Event(); else if (getName().equals("test_getClientArea")) test_getClientArea(); else if (getName().equals("test_getTabHeight")) test_getTabHeight(); + else if (getName().equals("test_getTopRight")) test_getTopRight(); else if (getName().equals("test_getItemI")) test_getItemI(); else if (getName().equals("test_getItemLorg_eclipse_swt_graphics_Point")) test_getItemLorg_eclipse_swt_graphics_Point(); else if (getName().equals("test_getItemCount")) test_getItemCount(); @@ -217,6 +228,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_setSelectionI")) test_setSelectionI(); else if (getName().equals("test_setSelectionLorg_eclipse_swt_custom_CTabItem")) test_setSelectionLorg_eclipse_swt_custom_CTabItem(); else if (getName().equals("test_setTabHeightI")) test_setTabHeightI(); + else if (getName().equals("test_setTopRightLorg_eclipse_swt_widgets_Control")) test_setTopRightLorg_eclipse_swt_widgets_Control(); else super.runTest(); } } diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java index d05aa3f2fc..799f77dc45 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java @@ -44,6 +44,10 @@ public void test_getEditor() { warnUnimpl("Test test_getEditor not written"); } +public void test_layout() { + warnUnimpl("Test test_layout not written"); +} + public void test_setEditorLorg_eclipse_swt_widgets_Control() { warnUnimpl("Test test_setEditorLorg_eclipse_swt_widgets_Control not written"); } @@ -62,6 +66,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_ConstructorLorg_eclipse_swt_widgets_Composite"); methodNames.addElement("test_dispose"); methodNames.addElement("test_getEditor"); + methodNames.addElement("test_layout"); methodNames.addElement("test_setEditorLorg_eclipse_swt_widgets_Control"); return methodNames; } @@ -69,6 +74,7 @@ protected void runTest() throws Throwable { if (getName().equals("test_ConstructorLorg_eclipse_swt_widgets_Composite")) test_ConstructorLorg_eclipse_swt_widgets_Composite(); else if (getName().equals("test_dispose")) test_dispose(); else if (getName().equals("test_getEditor")) test_getEditor(); + else if (getName().equals("test_layout")) test_layout(); else if (getName().equals("test_setEditorLorg_eclipse_swt_widgets_Control")) test_setEditorLorg_eclipse_swt_widgets_Control(); } } diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java index 50f9a1fd41..f4637b973f 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java @@ -38,6 +38,10 @@ public void test_ConstructorLorg_eclipse_swt_widgets_CompositeI() { warnUnimpl("Test test_ConstructorLorg_eclipse_swt_widgets_CompositeI not written"); } +public void test_computeSizeIIZ() { + warnUnimpl("Test test_computeSizeIIZ not written"); +} + public void test_getAlwaysShowScrollBars() { warnUnimpl("Test test_getAlwaysShowScrollBars not written"); } @@ -98,6 +102,7 @@ public static Test suite() { public static java.util.Vector methodNames() { java.util.Vector methodNames = new java.util.Vector(); methodNames.addElement("test_ConstructorLorg_eclipse_swt_widgets_CompositeI"); + methodNames.addElement("test_computeSizeIIZ"); methodNames.addElement("test_getAlwaysShowScrollBars"); methodNames.addElement("test_getContent"); methodNames.addElement("test_layoutZ"); @@ -115,6 +120,7 @@ public static java.util.Vector methodNames() { } protected void runTest() throws Throwable { if (getName().equals("test_ConstructorLorg_eclipse_swt_widgets_CompositeI")) test_ConstructorLorg_eclipse_swt_widgets_CompositeI(); + else if (getName().equals("test_computeSizeIIZ")) test_computeSizeIIZ(); else if (getName().equals("test_getAlwaysShowScrollBars")) test_getAlwaysShowScrollBars(); else if (getName().equals("test_getContent")) test_getContent(); else if (getName().equals("test_layoutZ")) test_layoutZ(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java index cab0b5204f..0b106525e1 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java @@ -68,6 +68,10 @@ public void test_getDisplay() { warnUnimpl("Test test_getDisplay not written"); } +public void test_getGrayed() { + warnUnimpl("Test test_getGrayed not written"); +} + public void test_getExpanded() { warnUnimpl("Test test_getExpanded not written"); } @@ -120,6 +124,10 @@ public void test_setExpandedZ() { warnUnimpl("Test test_setExpandedZ not written"); } +public void test_setGrayedZ() { + warnUnimpl("Test test_setGrayedZ not written"); +} + public void test_setImageILorg_eclipse_swt_graphics_Image() { warnUnimpl("Test test_setImageILorg_eclipse_swt_graphics_Image not written"); } @@ -155,6 +163,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_getChecked"); methodNames.addElement("test_getDisplay"); methodNames.addElement("test_getExpanded"); + methodNames.addElement("test_getGrayed"); methodNames.addElement("test_getImage"); methodNames.addElement("test_getImageI"); methodNames.addElement("test_getItemCount"); @@ -167,6 +176,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_dispose"); methodNames.addElement("test_setCheckedZ"); methodNames.addElement("test_setExpandedZ"); + methodNames.addElement("test_setGrayedZ"); methodNames.addElement("test_setImageILorg_eclipse_swt_graphics_Image"); methodNames.addElement("test_setImageLorg_eclipse_swt_graphics_Image"); methodNames.addElement("test_setTextILjava_lang_String"); @@ -183,6 +193,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_getChecked")) test_getChecked(); else if (getName().equals("test_getDisplay")) test_getDisplay(); else if (getName().equals("test_getExpanded")) test_getExpanded(); + else if (getName().equals("test_getGrayed")) test_getGrayed(); else if (getName().equals("test_getImage")) test_getImage(); else if (getName().equals("test_getImageI")) test_getImageI(); else if (getName().equals("test_getItemCount")) test_getItemCount(); @@ -195,6 +206,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_dispose")) test_dispose(); else if (getName().equals("test_setCheckedZ")) test_setCheckedZ(); else if (getName().equals("test_setExpandedZ")) test_setExpandedZ(); + else if (getName().equals("test_setGrayedZ")) test_setGrayedZ(); else if (getName().equals("test_setImageILorg_eclipse_swt_graphics_Image")) test_setImageILorg_eclipse_swt_graphics_Image(); else if (getName().equals("test_setImageLorg_eclipse_swt_graphics_Image")) test_setImageLorg_eclipse_swt_graphics_Image(); else if (getName().equals("test_setTextILjava_lang_String")) test_setTextILjava_lang_String(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java index 69242ba331..31c2c196b7 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java @@ -38,6 +38,10 @@ protected void tearDown() { display.dispose();
} +public void test_ConstructorLorg_eclipse_swt_graphics_Device$Lorg_eclipse_swt_graphics_FontData() { + warnUnimpl("Test test_ConstructorLorg_eclipse_swt_graphics_Device$Lorg_eclipse_swt_graphics_FontData not written"); +} + public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_FontData() {
// Test new Font(Device device, FontData fd)
// IllegalArgumentException if the fd argument is null
@@ -279,6 +283,7 @@ public static Test suite() { } public static java.util.Vector methodNames() { java.util.Vector methodNames = new java.util.Vector(); + methodNames.addElement("test_ConstructorLorg_eclipse_swt_graphics_Device$Lorg_eclipse_swt_graphics_FontData"); methodNames.addElement("test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_FontData"); methodNames.addElement("test_ConstructorLorg_eclipse_swt_graphics_DeviceLjava_lang_StringII"); methodNames.addElement("test_dispose"); @@ -291,7 +296,8 @@ public static java.util.Vector methodNames() { return methodNames; } protected void runTest() throws Throwable { - if (getName().equals("test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_FontData")) test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_FontData(); + if (getName().equals("test_ConstructorLorg_eclipse_swt_graphics_Device$Lorg_eclipse_swt_graphics_FontData")) test_ConstructorLorg_eclipse_swt_graphics_Device$Lorg_eclipse_swt_graphics_FontData(); + else if (getName().equals("test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_FontData")) test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_FontData(); else if (getName().equals("test_ConstructorLorg_eclipse_swt_graphics_DeviceLjava_lang_StringII")) test_ConstructorLorg_eclipse_swt_graphics_DeviceLjava_lang_StringII(); else if (getName().equals("test_dispose")) test_dispose(); else if (getName().equals("test_equalsLjava_lang_Object")) test_equalsLjava_lang_Object(); 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 3cfa34b363..8537c054af 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 @@ -130,6 +130,14 @@ public void test_computeSizeIIZ() { warnUnimpl("Test test_computeSizeIIZ not written"); } +public void test_copy() { + warnUnimpl("Test test_copy not written"); +} + +public void test_cut() { + warnUnimpl("Test test_cut not written"); +} + public void test_deselectI() {
combo.deselect(2);
@@ -436,6 +444,10 @@ public void test_removeLjava_lang_String() { assertEquals(number, combo.getItemCount());
} +public void test_paste() { + warnUnimpl("Test test_paste not written"); +} + public void test_removeAll() { warnUnimpl("Test test_removeAll not written"); } @@ -610,6 +622,8 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_checkSubclass"); methodNames.addElement("test_clearSelection"); methodNames.addElement("test_computeSizeIIZ"); + methodNames.addElement("test_copy"); + methodNames.addElement("test_cut"); methodNames.addElement("test_deselectI"); methodNames.addElement("test_deselectAll"); methodNames.addElement("test_getItemI"); @@ -627,6 +641,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_removeI"); methodNames.addElement("test_removeII"); methodNames.addElement("test_removeLjava_lang_String"); + methodNames.addElement("test_paste"); methodNames.addElement("test_removeAll"); methodNames.addElement("test_removeModifyListenerLorg_eclipse_swt_events_ModifyListener"); methodNames.addElement("test_removeSelectionListenerLorg_eclipse_swt_events_SelectionListener"); @@ -649,6 +664,8 @@ protected void runTest() throws Throwable { else if (getName().equals("test_checkSubclass")) test_checkSubclass(); else if (getName().equals("test_clearSelection")) test_clearSelection(); else if (getName().equals("test_computeSizeIIZ")) test_computeSizeIIZ(); + else if (getName().equals("test_copy")) test_copy(); + else if (getName().equals("test_cut")) test_cut(); else if (getName().equals("test_deselectI")) test_deselectI(); else if (getName().equals("test_deselectAll")) test_deselectAll(); else if (getName().equals("test_getItemI")) test_getItemI(); @@ -666,6 +683,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_removeI")) test_removeI(); else if (getName().equals("test_removeII")) test_removeII(); else if (getName().equals("test_removeLjava_lang_String")) test_removeLjava_lang_String(); + else if (getName().equals("test_paste")) test_paste(); else if (getName().equals("test_removeAll")) test_removeAll(); else if (getName().equals("test_removeModifyListenerLorg_eclipse_swt_events_ModifyListener")) test_removeModifyListenerLorg_eclipse_swt_events_ModifyListener(); else if (getName().equals("test_removeSelectionListenerLorg_eclipse_swt_events_SelectionListener")) test_removeSelectionListenerLorg_eclipse_swt_events_SelectionListener(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java index 9038fedbca..e410f65bd7 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java @@ -623,6 +623,10 @@ public void test_setVisibleZ() { assertTrue(!control.getVisible());
} +public void test_toControlII() { + warnUnimpl("Test test_toControlII not written"); +} + public void test_toControlLorg_eclipse_swt_graphics_Point() { Point controlCoords = control.toControl(new Point(0, 0)); assertEquals(new Point(0, 0), control.toDisplay(controlCoords)); @@ -634,6 +638,10 @@ public void test_toControlLorg_eclipse_swt_graphics_Point() { } } +public void test_toDisplayII() { + warnUnimpl("Test test_toDisplayII not written"); +} + public void test_toDisplayLorg_eclipse_swt_graphics_Point() { Point displayCoords = control.toDisplay(new Point(0, 0)); assertEquals(new Point(0, 0), control.toControl(displayCoords)); @@ -739,7 +747,9 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_setSizeLorg_eclipse_swt_graphics_Point"); methodNames.addElement("test_setToolTipTextLjava_lang_String"); methodNames.addElement("test_setVisibleZ"); + methodNames.addElement("test_toControlII"); methodNames.addElement("test_toControlLorg_eclipse_swt_graphics_Point"); + methodNames.addElement("test_toDisplayII"); methodNames.addElement("test_toDisplayLorg_eclipse_swt_graphics_Point"); methodNames.addElement("test_traverseI"); methodNames.addElement("test_update"); @@ -815,7 +825,9 @@ protected void runTest() throws Throwable { else if (getName().equals("test_setSizeLorg_eclipse_swt_graphics_Point")) test_setSizeLorg_eclipse_swt_graphics_Point(); else if (getName().equals("test_setToolTipTextLjava_lang_String")) test_setToolTipTextLjava_lang_String(); else if (getName().equals("test_setVisibleZ")) test_setVisibleZ(); + else if (getName().equals("test_toControlII")) test_toControlII(); else if (getName().equals("test_toControlLorg_eclipse_swt_graphics_Point")) test_toControlLorg_eclipse_swt_graphics_Point(); + else if (getName().equals("test_toDisplayII")) test_toDisplayII(); else if (getName().equals("test_toDisplayLorg_eclipse_swt_graphics_Point")) test_toDisplayLorg_eclipse_swt_graphics_Point(); else if (getName().equals("test_traverseI")) test_traverseI(); else if (getName().equals("test_update")) test_update(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java index f15ec75bf3..95dc1d4a07 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java @@ -147,6 +147,10 @@ public void test_getDefault() { }
} +public void test_getDismissalAlignment() { + warnUnimpl("Test test_getDismissalAlignment not written"); +} + public void test_getDataLjava_lang_String() { warnUnimpl("Test test_getDataLjava_lang_String not written"); } @@ -239,6 +243,10 @@ public void test_setAppNameLjava_lang_String() { warnUnimpl("Test test_setAppNameLjava_lang_String not written"); } +public void test_setCursorLocationII() { + warnUnimpl("Test test_setCursorLocationII not written"); +} + public void test_setSynchronizerLorg_eclipse_swt_widgets_Synchronizer() { warnUnimpl("Test test_setSynchronizerLorg_eclipse_swt_widgets_Synchronizer not written"); } @@ -292,6 +300,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_getCursorControl"); methodNames.addElement("test_getCursorLocation"); methodNames.addElement("test_getDefault"); + methodNames.addElement("test_getDismissalAlignment"); methodNames.addElement("test_getDataLjava_lang_String"); methodNames.addElement("test_getData"); methodNames.addElement("test_getDoubleClickTime"); @@ -310,6 +319,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_setDataLjava_lang_StringLjava_lang_Object"); methodNames.addElement("test_setDataLjava_lang_Object"); methodNames.addElement("test_setAppNameLjava_lang_String"); + methodNames.addElement("test_setCursorLocationII"); methodNames.addElement("test_setSynchronizerLorg_eclipse_swt_widgets_Synchronizer"); methodNames.addElement("test_sleep"); methodNames.addElement("test_syncExecLjava_lang_Runnable"); @@ -337,6 +347,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_getCursorControl")) test_getCursorControl(); else if (getName().equals("test_getCursorLocation")) test_getCursorLocation(); else if (getName().equals("test_getDefault")) test_getDefault(); + else if (getName().equals("test_getDismissalAlignment")) test_getDismissalAlignment(); else if (getName().equals("test_getDataLjava_lang_String")) test_getDataLjava_lang_String(); else if (getName().equals("test_getData")) test_getData(); else if (getName().equals("test_getDoubleClickTime")) test_getDoubleClickTime(); @@ -355,6 +366,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_setDataLjava_lang_StringLjava_lang_Object")) test_setDataLjava_lang_StringLjava_lang_Object(); else if (getName().equals("test_setDataLjava_lang_Object")) test_setDataLjava_lang_Object(); else if (getName().equals("test_setAppNameLjava_lang_String")) test_setAppNameLjava_lang_String(); + else if (getName().equals("test_setCursorLocationII")) test_setCursorLocationII(); else if (getName().equals("test_setSynchronizerLorg_eclipse_swt_widgets_Synchronizer")) test_setSynchronizerLorg_eclipse_swt_widgets_Synchronizer(); else if (getName().equals("test_sleep")) test_sleep(); else if (getName().equals("test_syncExecLjava_lang_Runnable")) test_syncExecLjava_lang_Runnable(); diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java index cbe1544404..b7297dd6c2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java @@ -62,6 +62,10 @@ public void test_getFontData() { // tested in test_setFontDataLorg_eclipse_swt_graphics_FontData
} +public void test_getRGB() { + warnUnimpl("Test test_getRGB not written"); +} + public void test_open() { warnUnimpl("Test test_open not written"); } @@ -78,6 +82,10 @@ public void test_setFontDataLorg_eclipse_swt_graphics_FontData() { assertNull(fontDialog.getFontData());
} +public void test_setRGBLorg_eclipse_swt_graphics_RGB() { + warnUnimpl("Test test_setRGBLorg_eclipse_swt_graphics_RGB not written"); +} + public static Test suite() { TestSuite suite = new TestSuite(); java.util.Vector methodNames = methodNames(); @@ -92,8 +100,10 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_ConstructorLorg_eclipse_swt_widgets_Shell"); methodNames.addElement("test_ConstructorLorg_eclipse_swt_widgets_ShellI"); methodNames.addElement("test_getFontData"); + methodNames.addElement("test_getRGB"); methodNames.addElement("test_open"); methodNames.addElement("test_setFontDataLorg_eclipse_swt_graphics_FontData"); + methodNames.addElement("test_setRGBLorg_eclipse_swt_graphics_RGB"); methodNames.addAll(Test_org_eclipse_swt_widgets_Dialog.methodNames()); // add superclass method names return methodNames; } @@ -101,8 +111,10 @@ protected void runTest() throws Throwable { if (getName().equals("test_ConstructorLorg_eclipse_swt_widgets_Shell")) test_ConstructorLorg_eclipse_swt_widgets_Shell(); else if (getName().equals("test_ConstructorLorg_eclipse_swt_widgets_ShellI")) test_ConstructorLorg_eclipse_swt_widgets_ShellI(); else if (getName().equals("test_getFontData")) test_getFontData(); + else if (getName().equals("test_getRGB")) test_getRGB(); else if (getName().equals("test_open")) test_open(); else if (getName().equals("test_setFontDataLorg_eclipse_swt_graphics_FontData")) test_setFontDataLorg_eclipse_swt_graphics_FontData(); + else if (getName().equals("test_setRGBLorg_eclipse_swt_graphics_RGB")) test_setRGBLorg_eclipse_swt_graphics_RGB(); else super.runTest(); } } diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java index c8603f7988..cfa09f6b74 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java @@ -9,7 +9,6 @@ package org.eclipse.swt.tests.junit; import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; -import org.eclipse.swt.graphics.*; import junit.framework.*; import junit.textui.*; @@ -280,6 +279,10 @@ public void test_setLocationII() { warnUnimpl("Test test_setLocationII not written"); } +public void test_setLocationLorg_eclipse_swt_graphics_Point() { + warnUnimpl("Test test_setLocationLorg_eclipse_swt_graphics_Point not written"); +} + /**
* Marks the receiver as visible if the argument is <code>true</code>,
* and marks it invisible otherwise.
@@ -342,6 +345,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_setDefaultItemLorg_eclipse_swt_widgets_MenuItem"); methodNames.addElement("test_setEnabledZ"); methodNames.addElement("test_setLocationII"); + methodNames.addElement("test_setLocationLorg_eclipse_swt_graphics_Point"); methodNames.addElement("test_setVisibleZ"); methodNames.addAll(Test_org_eclipse_swt_widgets_Widget.methodNames()); // add superclass method names return methodNames; @@ -372,6 +376,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_setDefaultItemLorg_eclipse_swt_widgets_MenuItem")) test_setDefaultItemLorg_eclipse_swt_widgets_MenuItem(); else if (getName().equals("test_setEnabledZ")) test_setEnabledZ(); else if (getName().equals("test_setLocationII")) test_setLocationII(); + else if (getName().equals("test_setLocationLorg_eclipse_swt_graphics_Point")) test_setLocationLorg_eclipse_swt_graphics_Point(); else if (getName().equals("test_setVisibleZ")) test_setVisibleZ(); else super.runTest(); } diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java index 7018364ff3..58c467cd72 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java @@ -656,6 +656,10 @@ public void test_addSelectionListenerLorg_eclipse_swt_events_SelectionListener() warnUnimpl("Test test_addSelectionListenerLorg_eclipse_swt_events_SelectionListener not written"); } +public void test_dispose() { + warnUnimpl("Test test_dispose not written"); +} + public void test_getDisplay() { warnUnimpl("Test test_getDisplay not written"); } @@ -835,6 +839,7 @@ public static Test suite() { public static java.util.Vector methodNames() { java.util.Vector methodNames = new java.util.Vector(); methodNames.addElement("test_addSelectionListenerLorg_eclipse_swt_events_SelectionListener"); + methodNames.addElement("test_dispose"); methodNames.addElement("test_getDisplay"); methodNames.addElement("test_getEnabled"); methodNames.addElement("test_getIncrement"); @@ -863,6 +868,7 @@ public static java.util.Vector methodNames() { } protected void runTest() throws Throwable { if (getName().equals("test_addSelectionListenerLorg_eclipse_swt_events_SelectionListener")) test_addSelectionListenerLorg_eclipse_swt_events_SelectionListener(); + else if (getName().equals("test_dispose")) test_dispose(); else if (getName().equals("test_getDisplay")) test_getDisplay(); else if (getName().equals("test_getEnabled")) test_getEnabled(); else if (getName().equals("test_getIncrement")) test_getIncrement(); 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 551dd8dda4..43289b891e 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 @@ -174,6 +174,10 @@ public void test_getSelectionCount(){ assertEquals(1, tree.getSelectionCount());
} +public void test_getTopItem() { + warnUnimpl("Test test_getTopItem not written"); +} + public void test_removeAll() {
tree.removeAll();
@@ -400,6 +404,10 @@ public void test_setSelection$Lorg_eclipse_swt_widgets_TreeItem(){ assertEquals(":e:", new TreeItem[] {items[1]}, tree.getSelection());
} +public void test_setTopItemLorg_eclipse_swt_widgets_TreeItem() { + warnUnimpl("Test test_setTopItemLorg_eclipse_swt_widgets_TreeItem not written"); +} + public void test_showItemLorg_eclipse_swt_widgets_TreeItem(){
try {
tree.showItem(null);
@@ -470,6 +478,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_getParentItem"); methodNames.addElement("test_getSelection"); methodNames.addElement("test_getSelectionCount"); + methodNames.addElement("test_getTopItem"); methodNames.addElement("test_removeAll"); methodNames.addElement("test_removeSelectionListenerLorg_eclipse_swt_events_SelectionListener"); methodNames.addElement("test_removeTreeListenerLorg_eclipse_swt_events_TreeListener"); @@ -477,6 +486,7 @@ public static java.util.Vector methodNames() { methodNames.addElement("test_selectAll"); methodNames.addElement("test_setRedrawZ"); methodNames.addElement("test_setSelection$Lorg_eclipse_swt_widgets_TreeItem"); + methodNames.addElement("test_setTopItemLorg_eclipse_swt_widgets_TreeItem"); methodNames.addElement("test_showItemLorg_eclipse_swt_widgets_TreeItem"); methodNames.addElement("test_showSelection"); methodNames.addAll(Test_org_eclipse_swt_widgets_Composite.methodNames()); // add superclass method names @@ -495,6 +505,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_getParentItem")) test_getParentItem(); else if (getName().equals("test_getSelection")) test_getSelection(); else if (getName().equals("test_getSelectionCount")) test_getSelectionCount(); + else if (getName().equals("test_getTopItem")) test_getTopItem(); else if (getName().equals("test_removeAll")) test_removeAll(); else if (getName().equals("test_removeSelectionListenerLorg_eclipse_swt_events_SelectionListener")) test_removeSelectionListenerLorg_eclipse_swt_events_SelectionListener(); else if (getName().equals("test_removeTreeListenerLorg_eclipse_swt_events_TreeListener")) test_removeTreeListenerLorg_eclipse_swt_events_TreeListener(); @@ -502,6 +513,7 @@ protected void runTest() throws Throwable { else if (getName().equals("test_selectAll")) test_selectAll(); else if (getName().equals("test_setRedrawZ")) test_setRedrawZ(); else if (getName().equals("test_setSelection$Lorg_eclipse_swt_widgets_TreeItem")) test_setSelection$Lorg_eclipse_swt_widgets_TreeItem(); + else if (getName().equals("test_setTopItemLorg_eclipse_swt_widgets_TreeItem")) test_setTopItemLorg_eclipse_swt_widgets_TreeItem(); else if (getName().equals("test_showItemLorg_eclipse_swt_widgets_TreeItem")) test_showItemLorg_eclipse_swt_widgets_TreeItem(); else if (getName().equals("test_showSelection")) test_showSelection(); else super.runTest(); |