ss: Move plugins to Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.tests / src / org / eclipse / linuxtools / tmf / ui / tests / AllTmfUITests.java
index 2759bf61e68eec1fa8e8e113bfc7b4462604e254..34a388725d0e7e2a335cea2cfaedb837967d8db6 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011-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
  *   Bernd Hufmann - Initial API and implementation
  *   Bernd Hufmann - Add UML2SD tests
  *   Mathieu Denis <mathieu.denis@polymtl.ca> - Add Statistics test
+ *   Alexandre Montplaisir - Port to JUnit4
  *******************************************************************************/
 
 package org.eclipse.linuxtools.tmf.ui.tests;
 
-import junit.framework.Test;
-import junit.framework.TestSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
 
 /**
- * <b><u>AllTmfUITests</u></b>
- *
  * Master test suite for TMF UI Core.
  */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+    org.eclipse.linuxtools.tmf.ui.tests.histogram.AllTests.class,
+    org.eclipse.linuxtools.tmf.ui.tests.project.model.AllTests.class,
+    org.eclipse.linuxtools.tmf.ui.tests.statistics.AllTests.class,
+    org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.dialogs.AllTests.class,
+    org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.load.AllTests.class,
+    org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.loader.AllTests.class
+})
 public class AllTmfUITests {
 
-    /**
-     * @return the TMF UI test suite
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(AllTmfUITests.class.getName());
-        // $JUnit-BEGIN$
-        suite.addTest(org.eclipse.linuxtools.tmf.ui.tests.statistics.AllTests.suite());
-        suite.addTest(org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.dialogs.AllTests.suite());
-        suite.addTest(org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.loader.AllTests.suite());
-        suite.addTest(org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.load.AllTests.suite());
-        suite.addTest(org.eclipse.linuxtools.tmf.ui.tests.histogram.AllTests.suite());
-        // $JUnit-END$
-        return suite;
-    }
 }
This page took 0.025248 seconds and 5 git commands to generate.