1 /*******************************************************************************
2 * Copyright (c) 2011, 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
.ctf
.core
.tests
;
15 import junit
.framework
.TestCase
;
17 import org
.eclipse
.linuxtools
.internal
.ctf
.core
.Activator
;
20 * <b><u>CtfCorePluginTest</u></b>
22 * Test the CTF core plug-in activator
24 @SuppressWarnings("javadoc")
25 public class CtfCorePluginTest
extends TestCase
{
27 // ------------------------------------------------------------------------
29 // ------------------------------------------------------------------------
31 // Plug-in instantiation
32 static final Activator fPlugin
= Activator
.getDefault();
34 // ------------------------------------------------------------------------
36 // ------------------------------------------------------------------------
42 public CtfCorePluginTest(String name
) {
47 protected void setUp() throws Exception
{
52 protected void tearDown() throws Exception
{
56 // ------------------------------------------------------------------------
58 // ------------------------------------------------------------------------
60 public static void testCtfCorePluginId() {
62 "Plugin ID", "org.eclipse.linuxtools.ctf", Activator
.PLUGIN_ID
); //$NON-NLS-1$ //$NON-NLS-2$
65 public static void testGetDefault() {
66 Activator plugin
= Activator
.getDefault();
67 assertEquals("getDefault()", plugin
, fPlugin
); //$NON-NLS-1$
70 public static void testLog() {
72 Activator
.getDefault().log("Some message"); //$NON-NLS-1$
73 } catch (Exception e
) {
This page took 0.032301 seconds and 5 git commands to generate.