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
.tests
;
15 import org
.eclipse
.linuxtools
.tmf
.TmfCorePlugin
;
17 import junit
.framework
.TestCase
;
20 * <b><u>TmfCorePluginTest</u></b>
22 * Test the TMF core plug-in activator
24 public class TmfCorePluginTest
extends TestCase
{
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
30 // Plug-in instantiation
31 static final TmfCorePlugin fPlugin
= new TmfCorePlugin();
33 // ------------------------------------------------------------------------
35 // ------------------------------------------------------------------------
38 * @param name the test name
40 public TmfCorePluginTest(String name
) {
45 protected void setUp() throws Exception
{
50 protected void tearDown() throws Exception
{
54 // ------------------------------------------------------------------------
56 // ------------------------------------------------------------------------
58 public void testTmfCorePluginId() throws Exception
{
59 assertEquals("Plugin ID", "org.eclipse.linuxtools.tmf", TmfCorePlugin
.PLUGIN_ID
);
62 public void testGetDefault() throws Exception
{
63 TmfCorePlugin plugin
= TmfCorePlugin
.getDefault();
64 assertEquals("getDefault()", plugin
, fPlugin
);
This page took 0.033224 seconds and 6 git commands to generate.