Fix unnecessary @SuppressWarning and removed dead code.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / TmfCorePluginTest.java
CommitLineData
d18dd09b
ASL
1/*******************************************************************************
2 * Copyright (c) 2009, 2010 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
6c13869b 13package org.eclipse.linuxtools.tmf.core.tests;
d18dd09b 14
d18dd09b
ASL
15import junit.framework.TestCase;
16
8fd82db5
FC
17import org.eclipse.linuxtools.internal.tmf.core.Activator;
18
d18dd09b
ASL
19/**
20 * <b><u>TmfCorePluginTest</u></b>
21 * <p>
22 * Test the TMF core plug-in activator
23 */
2d223a34 24@SuppressWarnings({ "nls" })
d18dd09b
ASL
25public class TmfCorePluginTest extends TestCase {
26
27 // ------------------------------------------------------------------------
28 // Attributes
29 // ------------------------------------------------------------------------
30
31 // Plug-in instantiation
8fd82db5 32 static final Activator fPlugin = new Activator();
d18dd09b
ASL
33
34 // ------------------------------------------------------------------------
35 // Housekeping
36 // ------------------------------------------------------------------------
37
38 /**
39 * @param name the test name
40 */
41 public TmfCorePluginTest(String name) {
42 super(name);
43 }
44
45 @Override
46 protected void setUp() throws Exception {
47 super.setUp();
48 }
49
50 @Override
51 protected void tearDown() throws Exception {
52 super.tearDown();
53 }
54
55 // ------------------------------------------------------------------------
56 // Test cases
57 // ------------------------------------------------------------------------
58
59 public void testTmfCorePluginId() throws Exception {
8fd82db5 60 assertEquals("Plugin ID", "org.eclipse.linuxtools.tmf.core", Activator.PLUGIN_ID);
d18dd09b
ASL
61 }
62
63 public void testGetDefault() throws Exception {
8fd82db5 64 Activator plugin = Activator.getDefault();
d18dd09b
ASL
65 assertEquals("getDefault()", plugin, fPlugin);
66 }
67
68}
This page took 0.041199 seconds and 5 git commands to generate.