| package org.eclipse.gmf.tests.runtime.emf.clipboard.core; |
| |
| import java.util.Arrays; |
| |
| import junit.framework.Test; |
| import junit.framework.TestCase; |
| import junit.framework.TestSuite; |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.core.runtime.IPlatformRunnable; |
| |
| /** |
| * |
| * @author Christian Vogt (cvogt) |
| */ |
| public class AllTests extends TestCase implements IPlatformRunnable { |
| |
| public static void main(String[] args) { |
| TestRunner.run(suite()); |
| } |
| |
| public static Test suite() { |
| TestSuite suite = new TestSuite(); |
| |
| suite.addTest(RegressionTest.suite()); |
| //suite.addTest(ClipboardUtilTest.suite()); |
| |
| return suite; |
| } |
| |
| public AllTests() { |
| super(""); //$NON-NLS-1$ |
| } |
| |
| public Object run(Object args) throws Exception { |
| TestRunner.run(suite()); |
| return Arrays.asList(new String[] { "Please see raw test suite output for details." }); //$NON-NLS-1$ |
| } |
| |
| } |