ss: Move plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / trace / AllTests.java
index 2b21a106b6b7ca2fe90fcb13b2e105a100d34ff7..657ce1b7613837c0fd652e4a753f8a0f2a6e37d9 100644 (file)
@@ -1,22 +1,30 @@
-package org.eclipse.linuxtools.tmf.core.tests.trace;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
+/*******************************************************************************
+ * Copyright (c) 2009, 2013 Ericsson
+ *
+ * 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:
+ *   Francois Chouinard - Initial API and implementation
+ *   Francois Chouinard - Adjusted for new Trace Model
+ *   Alexandre Montplaisir - Port to JUnit4
+ *******************************************************************************/
 
-import org.eclipse.linuxtools.internal.tmf.core.TmfCorePlugin;
-
-@SuppressWarnings("nls")
-public class AllTests {
+package org.eclipse.linuxtools.tmf.core.tests.trace;
 
-       public static Test suite() {
-               TestSuite suite = new TestSuite("Test suite for " + TmfCorePlugin.PLUGIN_ID + ".trace"); //$NON-NLS-1$);
-               //$JUnit-BEGIN$
-               suite.addTestSuite(TmfLocationTest.class);
-               suite.addTestSuite(TmfCheckpointTest.class);
-               suite.addTestSuite(TmfContextTest.class);
-               suite.addTestSuite(TmfTraceTest.class);
-               //$JUnit-END$
-               return suite;
-       }
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
 
-}
\ No newline at end of file
+/**
+ * Test suite for org.eclipse.linuxtools.tmf.core.trace
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+    TmfContextTest.class,
+    TmfExperimentTest.class,
+    TmfMultiTraceExperimentTest.class,
+    TmfTraceTest.class
+})
+public class AllTests {}
\ No newline at end of file
This page took 0.025004 seconds and 5 git commands to generate.