pcap: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.gdbtrace.core.tests / src / org / eclipse / tracecompass / gdbtrace / core / tests / GdbTraceCorePluginTest.java
1 /*******************************************************************************
2 * Copyright (c) 2013, 2015 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
13 package org.eclipse.tracecompass.gdbtrace.core.tests;
14
15 import static org.junit.Assert.assertEquals;
16
17 import org.eclipse.core.runtime.Plugin;
18 import org.eclipse.tracecompass.internal.gdbtrace.core.GdbTraceCorePlugin;
19 import org.junit.Test;
20
21 @SuppressWarnings("javadoc")
22 public class GdbTraceCorePluginTest {
23
24 // ------------------------------------------------------------------------
25 // Attributes
26 // ------------------------------------------------------------------------
27
28 // Plug-in instantiation
29 private final static Plugin fPlugin = GdbTraceCorePlugin.getDefault();
30
31 // ------------------------------------------------------------------------
32 // Test cases
33 // ------------------------------------------------------------------------
34
35 @Test
36 public void testPluginId() {
37 assertEquals("Plugin ID", "org.eclipse.tracecompass.gdbtrace.core", GdbTraceCorePlugin.PLUGIN_ID);
38 }
39
40 @Test
41 public void testGetDefault() {
42 Plugin plugin = GdbTraceCorePlugin.getDefault();
43 assertEquals("getDefault()", plugin, fPlugin);
44 }
45 }
This page took 0.036253 seconds and 5 git commands to generate.