tmf: Add the Tmf- prefix to the state system interfaces
[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
54a7a54c 3 *
d18dd09b
ASL
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
54a7a54c 8 *
d18dd09b
ASL
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();
54a7a54c 33
d18dd09b
ASL
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
54a7a54c
FC
59 /**
60 *
61 */
62 public void testTmfCorePluginId() {
8fd82db5 63 assertEquals("Plugin ID", "org.eclipse.linuxtools.tmf.core", Activator.PLUGIN_ID);
d18dd09b
ASL
64 }
65
54a7a54c
FC
66 /**
67 *
68 */
69 public void testGetDefault() {
8fd82db5 70 Activator plugin = Activator.getDefault();
d18dd09b
ASL
71 assertEquals("getDefault()", plugin, fPlugin);
72 }
73
74}
This page took 0.037836 seconds and 5 git commands to generate.