Rename xxx.lttng to xxx.lttng.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.tests / src / org / eclipse / linuxtools / tmf / 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
13package org.eclipse.linuxtools.tmf.tests;
14
15import org.eclipse.linuxtools.tmf.TmfCorePlugin;
16
17import junit.framework.TestCase;
18
19/**
20 * <b><u>TmfCorePluginTest</u></b>
21 * <p>
22 * Test the TMF core plug-in activator
23 */
3b38ea61 24@SuppressWarnings("nls")
d18dd09b
ASL
25public class TmfCorePluginTest extends TestCase {
26
27 // ------------------------------------------------------------------------
28 // Attributes
29 // ------------------------------------------------------------------------
30
31 // Plug-in instantiation
32 static final TmfCorePlugin fPlugin = new TmfCorePlugin();
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 {
60 assertEquals("Plugin ID", "org.eclipse.linuxtools.tmf", TmfCorePlugin.PLUGIN_ID);
61 }
62
63 public void testGetDefault() throws Exception {
64 TmfCorePlugin plugin = TmfCorePlugin.getDefault();
65 assertEquals("getDefault()", plugin, fPlugin);
66 }
67
68}
This page took 0.028099 seconds and 5 git commands to generate.