/*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 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
*
* Contributors:
* Francois Chouinard - Initial API and implementation
+ * Alexandre Montplaisir - Port to JUnit4
*******************************************************************************/
package org.eclipse.linuxtools.lttng2.core.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>
+ * Test stubs for the Activator.
*/
-@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.core.Activator#Activator()}.
+ * Test method for {@link org.eclipse.linuxtools.internal.lttng2.core.Activator#Activator()}.
*/
@Test
public void testActivator() {
}
/**
- * Test method for {@link org.eclipse.linuxtools.lttng2.core.Activator#getDefault()}.
+ * Test method for {@link org.eclipse.linuxtools.internal.lttng2.core.Activator#getDefault()}.
*/
@Test
public void testGetDefault() {
}
/**
- * Test method for {@link org.eclipse.linuxtools.lttng2.core.Activator#start(org.osgi.framework.BundleContext)}.
+ * Test method for {@link org.eclipse.linuxtools.internal.lttng2.core.Activator#start(org.osgi.framework.BundleContext)}.
*/
@Test
public void testStartBundleContext() {
}
/**
- * Test method for {@link org.eclipse.linuxtools.lttng2.core.Activator#stop(org.osgi.framework.BundleContext)}.
+ * Test method for {@link org.eclipse.linuxtools.internal.lttng2.core.Activator#stop(org.osgi.framework.BundleContext)}.
*/
@Test
public void testStopBundleContext() {