-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