Move alltests plugin to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / TmfCorePluginTest.java
CommitLineData
d18dd09b 1/*******************************************************************************
61759503 2 * Copyright (c) 2009, 2013 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
6e1886bc 11 * Alexandre Montplaisir - Port to JUnit4
d18dd09b
ASL
12 *******************************************************************************/
13
6c13869b 14package org.eclipse.linuxtools.tmf.core.tests;
d18dd09b 15
6e1886bc 16import static org.junit.Assert.assertEquals;
d18dd09b 17
8fd82db5 18import org.eclipse.linuxtools.internal.tmf.core.Activator;
6e1886bc 19import org.junit.Test;
8fd82db5 20
d18dd09b 21/**
d18dd09b
ASL
22 * Test the TMF core plug-in activator
23 */
6e1886bc 24public class TmfCorePluginTest {
d18dd09b 25
6e1886bc 26 // ------------------------------------------------------------------------
d18dd09b 27 // Attributes
6e1886bc 28 // ------------------------------------------------------------------------
d18dd09b 29
6e1886bc
AM
30 // Plug-in instantiation
31 static final Activator fPlugin = new Activator();
54a7a54c 32
6e1886bc 33 // ------------------------------------------------------------------------
d18dd09b 34 // Test cases
6e1886bc
AM
35 // ------------------------------------------------------------------------
36
37 /**
38 * Test the plugin ID.
39 */
40 @Test
41 public void testTmfCorePluginId() {
c77a695a 42 assertEquals("Plugin ID", "org.eclipse.tracecompass.tmf.core", Activator.PLUGIN_ID);
6e1886bc
AM
43 }
44
45 /**
46 * Test the getDefault() static method.
47 */
48 @Test
49 public void testGetDefault() {
50 Activator plugin = Activator.getDefault();
51 assertEquals("getDefault()", plugin, fPlugin);
52 }
d18dd09b
ASL
53
54}
This page took 0.060411 seconds and 5 git commands to generate.