Add timezones to preference page
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / event / AllTests.java
index ebe265af8c8a4178dd64d42d224c555229fd6246..6f0bf6ef5a50a4bf8df21a5507b6984aafa33483 100644 (file)
@@ -1,41 +1,39 @@
 /*******************************************************************************
- * 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 Event Model
+ *   Alexandre Montplaisir - Port to JUnit4
  *******************************************************************************/
 
 package org.eclipse.linuxtools.tmf.core.tests.event;
 
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.linuxtools.internal.tmf.core.Activator;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
 
 /**
  * Test suite for org.eclipse.linuxtools.tmf.core.event
  */
-@SuppressWarnings({ "nls" })
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+    TmfEventFieldTest.class,
+    TmfEventTest.class,
+    TmfEventTypeManagerTest.class,
+    TmfEventTypeTest.class,
+    TmfSimpleTimestampTest.class,
+    TmfTimePreferencesTest.class,
+    TmfTimeRangeTest.class,
+    TmfTimestampDeltaTest.class,
+    TmfTimestampTest.class,
+    TmfTimestampFormatTest.class,
+    org.eclipse.linuxtools.tmf.core.tests.event.lookup.AllTests.class
+})
 public class AllTests {
 
-    public static Test suite() {
-        final TestSuite suite = new TestSuite("Test suite for " + Activator.PLUGIN_ID + ".event"); //$NON-NLS-1$;
-        //$JUnit-BEGIN$
-        suite.addTestSuite(TmfTimestampTest.class);
-        suite.addTestSuite(TmfSimpleTimestampTest.class);
-        suite.addTestSuite(TmfTimeRangeTest.class);
-        suite.addTestSuite(TmfEventFieldTest.class);
-        suite.addTestSuite(TmfEventTypeTest.class);
-        suite.addTestSuite(TmfEventTest.class);
-        suite.addTestSuite(TmfEventTypeManagerTest.class);
-        //$JUnit-END$
-        return suite;
-    }
-
 }
This page took 0.032612 seconds and 5 git commands to generate.