ctf: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.gdbtrace.ui.tests / src / org / eclipse / linuxtools / gdbtrace / ui / tests / GdbTraceUIPluginTest.java
CommitLineData
8343b1f5
PT
1/*******************************************************************************
2 * Copyright (c) 2013 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.gdbtrace.ui.tests;
14
15import static org.junit.Assert.assertEquals;
16
17import org.eclipse.core.runtime.Plugin;
18import org.eclipse.linuxtools.internal.gdbtrace.ui.GdbTraceUIPlugin;
19import org.junit.Test;
20
d20ab9c3 21@SuppressWarnings("javadoc")
8343b1f5
PT
22public class GdbTraceUIPluginTest {
23
24 // ------------------------------------------------------------------------
25 // Attributes
26 // ------------------------------------------------------------------------
27
28 // Plug-in instantiation
29 private final static Plugin fPlugin = GdbTraceUIPlugin.getDefault();
30
31 // ------------------------------------------------------------------------
32 // Test cases
33 // ------------------------------------------------------------------------
34
35 @Test
36 public void testPluginId() {
bc416799 37 assertEquals("Plugin ID", "org.eclipse.linuxtools.gdbtrace.ui", GdbTraceUIPlugin.PLUGIN_ID);
8343b1f5
PT
38 }
39
40 @Test
41 public void testGetDefault() {
42 Plugin plugin = GdbTraceUIPlugin.getDefault();
d20ab9c3 43 assertEquals("getDefault()", plugin, fPlugin);
8343b1f5
PT
44 }
45}
This page took 0.068386 seconds and 5 git commands to generate.