tmf: Update tmf.core unit tests to JUnit4
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / uml2sd / AllTests.java
index a2bda98da98ed9e572c0faaa5a8ccd4526f4171e..0fb01f8e783e4fab69e6da2d0de5b381ceab6756 100644 (file)
@@ -1,29 +1,28 @@
-package org.eclipse.linuxtools.tmf.core.tests.uml2sd;
+/*******************************************************************************
+ * Copyright (c) 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:
+ *   Alexandre Montplaisir - Port to JUnit4
+ *******************************************************************************/
 
-import junit.framework.Test;
-import junit.framework.TestSuite;
+package org.eclipse.linuxtools.tmf.core.tests.uml2sd;
 
-import org.eclipse.linuxtools.internal.tmf.core.Activator;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
 
 /**
- * <b><u>AllTests</u></b>
- * <p>
- * Implement me. Please.
- * <p>
+ * Unit tests for tmf.core.uml2sd
  */
-@SuppressWarnings({ "nls" })
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+    TmfAsyncSequenceDiagramEventTest.class,
+    TmfSyncSequenceDiagramEventTest.class
+})
 public class AllTests {
 
-       /**
-        * @return the test suite
-        */
-       public static Test suite() {
-               TestSuite suite = new TestSuite("Test suite for " + Activator.PLUGIN_ID + ".uml2sd"); //$NON-NLS-1$);
-               //$JUnit-BEGIN$
-               suite.addTestSuite(TmfSyncSequenceDiagramEventTest.class);
-               suite.addTestSuite(TmfAsyncSequenceDiagramEventTest.class);
-               //$JUnit-END$
-               return suite;
-       }
-
 }
\ No newline at end of file
This page took 0.024532 seconds and 5 git commands to generate.