-package org.eclipse.linuxtools.tmf.core.tests.event;
+/*******************************************************************************
+ * 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
+ *******************************************************************************/
-import junit.framework.Test;
-import junit.framework.TestSuite;
+package org.eclipse.linuxtools.tmf.core.tests.event;
-import org.eclipse.linuxtools.tmf.core.TmfCorePlugin;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
-@SuppressWarnings("nls")
+/**
+ * Test suite for org.eclipse.linuxtools.tmf.core.event
+ */
+@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() {
- TestSuite suite = new TestSuite("Test suite for " + TmfCorePlugin.PLUGIN_ID + ".event"); //$NON-NLS-1$);
- //$JUnit-BEGIN$
- suite.addTestSuite(TmfEventFieldTest.class);
- suite.addTestSuite(TmfEventContentTest.class);
- suite.addTestSuite(TmfEventTypeTest.class);
- suite.addTestSuite(TmfEventSourceTest.class);
- suite.addTestSuite(TmfEventReferenceTest.class);
- suite.addTestSuite(TmfTimestampTest.class);
- suite.addTestSuite(TmfTimeRangeTest.class);
- suite.addTestSuite(TmfEventTest.class);
- //$JUnit-END$
- return suite;
- }
-
}