1 /*******************************************************************************
2 * Copyright (c) 2009, 2010, 2013 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 * Alexandre Montplaisir - Port to JUnit4
12 *******************************************************************************/
14 package org
.eclipse
.linuxtools
.tmf
.core
.tests
;
16 import static org
.junit
.Assert
.assertEquals
;
18 import org
.eclipse
.linuxtools
.internal
.tmf
.core
.Activator
;
19 import org
.junit
.Test
;
22 * Test the TMF core plug-in activator
24 @SuppressWarnings("nls")
25 public class TmfCorePluginTest
{
27 // ------------------------------------------------------------------------
29 // ------------------------------------------------------------------------
31 // Plug-in instantiation
32 static final Activator fPlugin
= new Activator();
34 // ------------------------------------------------------------------------
36 // ------------------------------------------------------------------------
42 public void testTmfCorePluginId() {
43 assertEquals("Plugin ID", "org.eclipse.linuxtools.tmf.core", Activator
.PLUGIN_ID
);
47 * Test the getDefault() static method.
50 public void testGetDefault() {
51 Activator plugin
= Activator
.getDefault();
52 assertEquals("getDefault()", plugin
, fPlugin
);
This page took 0.030519 seconds and 5 git commands to generate.