1 /*******************************************************************************
2 * Copyright (c) 2011, 2015 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
.tracecompass
.ctf
.core
.tests
;
15 import static org
.junit
.Assert
.assertEquals
;
16 import static org
.junit
.Assert
.fail
;
18 import org
.eclipse
.tracecompass
.internal
.ctf
.core
.Activator
;
19 import org
.junit
.Test
;
22 * <b><u>CtfCorePluginTest</u></b>
24 * Test the CTF core plug-in activator
26 @SuppressWarnings("javadoc")
27 public class CtfCorePluginTest
{
29 // ------------------------------------------------------------------------
31 // ------------------------------------------------------------------------
33 // Plug-in instantiation
34 private final static Activator fPlugin
= Activator
.getDefault();
37 // ------------------------------------------------------------------------
39 // ------------------------------------------------------------------------
42 public void testCtfCorePluginId() {
44 "Plugin ID", "org.eclipse.tracecompass.ctf.core", Activator
.PLUGIN_ID
);
48 public void testGetDefault() {
49 Activator plugin
= Activator
.getDefault();
50 assertEquals("getDefault()", plugin
, fPlugin
);
54 public void testLog() {
56 Activator
.log("Some message");
57 } catch (Exception e
) {
This page took 0.03138 seconds and 5 git commands to generate.