lttng: Port unit tests to JUnit4
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.ui.tests / src / org / eclipse / linuxtools / lttng2 / kernel / ui / tests / ActivatorTest.java
index 295f0e180af32dc57ffd103b6700eff294fc0840..5634a3c46a942f58fe74f486ee9051a80093f17c 100644 (file)
 
 package org.eclipse.linuxtools.lttng2.kernel.ui.tests;
 
-import junit.framework.TestCase;
+import static org.junit.Assert.assertTrue;
 
-import org.junit.After;
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.BeforeClass;
 import org.junit.Test;
 
 /**
- * <b><u>ActivatorTest</u></b>
- * <p>
  * Test suite for the Activator class
- * <p>
  */
-@SuppressWarnings("javadoc")
-public class ActivatorTest extends TestCase {
-
-    // ------------------------------------------------------------------------
-    // JUnit
-    // ------------------------------------------------------------------------
-
-    @BeforeClass
-    public static void setUpBeforeClass() {
-    }
-
-    @AfterClass
-    public static void tearDownAfterClass() {
-    }
-
-    /**
-     * @throws java.lang.Exception
-     */
-    @Before
-    @Override
-    public void setUp() throws Exception {
-    }
-
-    /**
-     * @throws java.lang.Exception
-     */
-    @After
-    @Override
-    public void tearDown() throws Exception {
-    }
+public class ActivatorTest {
 
     // ------------------------------------------------------------------------
     // Tests
     // ------------------------------------------------------------------------
 
     /**
-     * Test method for {@link org.eclipse.linuxtools.lttng2.kernel.ui.Activator#Activator()}.
+     * Test method for {@link org.eclipse.linuxtools.internal.lttng2.kernel.ui.Activator#Activator()}.
      */
     @Test
     public void testActivator() {
@@ -70,7 +34,7 @@ public class ActivatorTest extends TestCase {
     }
 
     /**
-     * Test method for {@link org.eclipse.linuxtools.lttng2.kernel.ui.Activator#getDefault()}.
+     * Test method for {@link org.eclipse.linuxtools.internal.lttng2.kernel.ui.Activator#getDefault()}.
      */
     @Test
     public void testGetDefault() {
@@ -78,7 +42,7 @@ public class ActivatorTest extends TestCase {
     }
 
     /**
-     * Test method for {@link org.eclipse.linuxtools.lttng2.kernel.ui.Activator#start(org.osgi.framework.BundleContext)}.
+     * Test method for {@link org.eclipse.linuxtools.internal.lttng2.kernel.ui.Activator#start}.
      */
     @Test
     public void testStartBundleContext() {
@@ -86,7 +50,7 @@ public class ActivatorTest extends TestCase {
     }
 
     /**
-     * Test method for {@link org.eclipse.linuxtools.lttng2.kernel.ui.Activator#stop(org.osgi.framework.BundleContext)}.
+     * Test method for {@link org.eclipse.linuxtools.internal.lttng2.kernel.ui.Activator#stop}.
      */
     @Test
     public void testStopBundleContext() {
This page took 0.026494 seconds and 5 git commands to generate.