1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 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 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.tests
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.TmfCorePlugin
;
17 import junit
.framework
.TestCase
;
20 * <b><u>TmfCorePluginTest</u></b>
22 * Test the TMF core plug-in activator
24 @SuppressWarnings("nls")
25 public class TmfCorePluginTest
extends TestCase
{
27 // ------------------------------------------------------------------------
29 // ------------------------------------------------------------------------
31 // Plug-in instantiation
32 static final TmfCorePlugin fPlugin
= new TmfCorePlugin();
34 // ------------------------------------------------------------------------
36 // ------------------------------------------------------------------------
39 * @param name the test name
41 public TmfCorePluginTest(String name
) {
46 protected void setUp() throws Exception
{
51 protected void tearDown() throws Exception
{
55 // ------------------------------------------------------------------------
57 // ------------------------------------------------------------------------
59 public void testTmfCorePluginId() throws Exception
{
60 assertEquals("Plugin ID", "org.eclipse.linuxtools.tmf", TmfCorePlugin
.PLUGIN_ID
);
63 public void testGetDefault() throws Exception
{
64 TmfCorePlugin plugin
= TmfCorePlugin
.getDefault();
65 assertEquals("getDefault()", plugin
, fPlugin
);
This page took 0.032471 seconds and 6 git commands to generate.