Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/suites/AllCoreTests.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/suites/AllCoreTests.java47
1 files changed, 47 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/suites/AllCoreTests.java b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/suites/AllCoreTests.java
new file mode 100644
index 000000000..a86809506
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/suites/AllCoreTests.java
@@ -0,0 +1,47 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Wind River Systems, Inc. and others. All rights reserved.
+ * This program and the accompanying materials are made available under the terms
+ * of the Eclipse Public License v1.0 which accompanies this distribution, and is
+ * available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.tests.suites;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.eclipse.tcf.te.tests.statushandler.StatusHandlerTestCase;
+
+/**
+ * All core test suites.
+ */
+public class AllCoreTests {
+
+ /**
+ * Main method called if the tests are running as part of the nightly
+ * Workbench wheel. Use only the <code>junit.textui.TestRunner</code>
+ * here to execute the tests!
+ *
+ * @param args The command line arguments passed.
+ */
+ public static void main (String[] args) {
+ junit.textui.TestRunner.run(suite());
+ }
+
+ /**
+ * Static method called by the several possible test runners to fetch
+ * the test(s) to run.
+ * Do not rename this method, otherwise tests will not be called anymore!
+ *
+ * @return Any object of type <code>Test</code> containing the test to run.
+ */
+ public static Test suite() {
+ TestSuite suite = new TestSuite("All Target Explorer Core Tests"); //$NON-NLS-1$
+
+ suite.addTest(StatusHandlerTestCase.getTestSuite());
+
+ return suite;
+ }
+}

Back to the top