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 167d55a405db4d209413430f1cd849e549d09c91..657ce1b7613837c0fd652e4a753f8a0f2a6e37d9 100644 (file)
@@ -1,39 +1,30 @@
 /*******************************************************************************
- * 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);
-               //$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
This page took 0.025679 seconds and 5 git commands to generate.