/*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
- *
+ * 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
*******************************************************************************/
package org.eclipse.linuxtools.tmf.core.tests.trace;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.linuxtools.internal.tmf.core.TmfCorePlugin;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
/**
* Test suite for org.eclipse.linuxtools.tmf.core.trace
*/
-@SuppressWarnings("nls")
-public class AllTests {
-
- 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(TmfContextTest.class);
- suite.addTestSuite(TmfCheckpointTest.class);
- suite.addTestSuite(TmfCheckpointIndexTest.class);
- suite.addTestSuite(TmfTraceTest.class);
-
- suite.addTestSuite(TmfExperimentCheckpointIndexTest.class);
- suite.addTestSuite(TmfExperimentTest.class);
- suite.addTestSuite(TmfMultiTraceExperimentTest.class);
- //$JUnit-END$
- return suite;
- }
-
-}
\ No newline at end of file
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ TmfContextTest.class,
+ TmfExperimentTest.class,
+ TmfMultiTraceExperimentTest.class,
+ TmfTraceTest.class
+})
+public class AllTests {}
\ No newline at end of file