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 public class CtfCorePluginTest
extends TestCase
{
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
30 // Plug-in instantiation
31 static final Activator fPlugin
= Activator
.getDefault();
33 // ------------------------------------------------------------------------
35 // ------------------------------------------------------------------------
41 public CtfCorePluginTest(String name
) {
46 protected void setUp() throws Exception
{
51 protected void tearDown() throws Exception
{
55 // ------------------------------------------------------------------------
57 // ------------------------------------------------------------------------
59 public static void testCtfCorePluginId() {
61 "Plugin ID", "org.eclipse.linuxtools.ctf", Activator
.PLUGIN_ID
); //$NON-NLS-1$ //$NON-NLS-2$
64 public static void testGetDefault() {
65 Activator plugin
= Activator
.getDefault();
66 assertEquals("getDefault()", plugin
, fPlugin
); //$NON-NLS-1$
69 public static void testLog() {
71 Activator
.getDefault().log("Some message"); //$NON-NLS-1$
72 } catch (Exception e
) {
This page took 0.031758 seconds and 5 git commands to generate.