blob: 21edb1aa8388e63687ade4305c9cda9de0028cfc [file] [log] [blame]
package org.eclipse.swt.tests.junit;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved
*/
import org.eclipse.swt.dnd.*;
import junit.framework.*;
import junit.textui.*;
/**
* Automated Test Suite for class org.eclipse.swt.dnd.DropTarget
*
* @see org.eclipse.swt.dnd.DropTarget
*/
public class Test_org_eclipse_swt_dnd_DropTarget extends Test_org_eclipse_swt_widgets_Widget {
public Test_org_eclipse_swt_dnd_DropTarget(String name) {
super(name);
}
public static void main(String[] args) {
TestRunner.run(suite());
}
protected void setUp() {
super.setUp();
}
protected void tearDown() {
super.tearDown();
}
public void test_ConstructorLorg_eclipse_swt_widgets_ControlI() {
warnUnimpl("Test test_ConstructorLorg_eclipse_swt_widgets_ControlI not written");
}
public void test_addDropListenerLorg_eclipse_swt_dnd_DropTargetListener() {
warnUnimpl("Test test_addDropListenerLorg_eclipse_swt_dnd_DropTargetListener not written");
}
public void test_getControl() {
warnUnimpl("Test test_getControl not written");
}
public void test_getDisplay() {
warnUnimpl("Test test_getDisplay not written");
}
public void test_getTransfer() {
warnUnimpl("Test test_getTransfer not written");
}
public void test_notifyListenersILorg_eclipse_swt_widgets_Event() {
warnUnimpl("Test test_notifyListenersILorg_eclipse_swt_widgets_Event not written");
}
public void test_removeDropListenerLorg_eclipse_swt_dnd_DropTargetListener() {
warnUnimpl("Test test_removeDropListenerLorg_eclipse_swt_dnd_DropTargetListener not written");
}
public void test_setTransfer$Lorg_eclipse_swt_dnd_Transfer() {
warnUnimpl("Test test_setTransfer$Lorg_eclipse_swt_dnd_Transfer not written");
}
public void test_checkSubclass() {
warnUnimpl("Test test_checkSubclass not written");
}
public static Test suite() {
TestSuite suite = new TestSuite();
java.util.Vector methodNames = methodNames();
java.util.Enumeration e = methodNames.elements();
while (e.hasMoreElements()) {
suite.addTest(new Test_org_eclipse_swt_dnd_DropTarget((String)e.nextElement()));
}
return suite;
}
public static java.util.Vector methodNames() {
java.util.Vector methodNames = new java.util.Vector();
methodNames.addElement("test_ConstructorLorg_eclipse_swt_widgets_ControlI");
methodNames.addElement("test_addDropListenerLorg_eclipse_swt_dnd_DropTargetListener");
methodNames.addElement("test_getControl");
methodNames.addElement("test_getDisplay");
methodNames.addElement("test_getTransfer");
methodNames.addElement("test_notifyListenersILorg_eclipse_swt_widgets_Event");
methodNames.addElement("test_removeDropListenerLorg_eclipse_swt_dnd_DropTargetListener");
methodNames.addElement("test_setTransfer$Lorg_eclipse_swt_dnd_Transfer");
methodNames.addElement("test_checkSubclass");
methodNames.addAll(Test_org_eclipse_swt_widgets_Widget.methodNames()); // add superclass method names
return methodNames;
}
protected void runTest() throws Throwable {
if (getName().equals("test_ConstructorLorg_eclipse_swt_widgets_ControlI")) test_ConstructorLorg_eclipse_swt_widgets_ControlI();
else if (getName().equals("test_addDropListenerLorg_eclipse_swt_dnd_DropTargetListener")) test_addDropListenerLorg_eclipse_swt_dnd_DropTargetListener();
else if (getName().equals("test_getControl")) test_getControl();
else if (getName().equals("test_getDisplay")) test_getDisplay();
else if (getName().equals("test_getTransfer")) test_getTransfer();
else if (getName().equals("test_notifyListenersILorg_eclipse_swt_widgets_Event")) test_notifyListenersILorg_eclipse_swt_widgets_Event();
else if (getName().equals("test_removeDropListenerLorg_eclipse_swt_dnd_DropTargetListener")) test_removeDropListenerLorg_eclipse_swt_dnd_DropTargetListener();
else if (getName().equals("test_setTransfer$Lorg_eclipse_swt_dnd_Transfer")) test_setTransfer$Lorg_eclipse_swt_dnd_Transfer();
else if (getName().equals("test_checkSubclass")) test_checkSubclass();
else super.runTest();
}
}