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 575cf683f6ad1e95276769def8c59f10bafb471d..6f0bf6ef5a50a4bf8df21a5507b6984aafa33483 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * 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
@@ -9,37 +9,31 @@
  * 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 {
 
-    /**
-     * @return the CTF COre Event test suite
-     */
-    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(TmfTimestampDeltaTest.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.02548 seconds and 5 git commands to generate.