1 /*******************************************************************************
2 * Copyright (c) 2013, 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 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.gdbtrace
.core
.tests
;
15 import static org
.junit
.Assert
.assertEquals
;
17 import org
.eclipse
.core
.runtime
.Plugin
;
18 import org
.eclipse
.tracecompass
.internal
.gdbtrace
.core
.GdbTraceCorePlugin
;
19 import org
.junit
.Test
;
21 @SuppressWarnings("javadoc")
22 public class GdbTraceCorePluginTest
{
24 // ------------------------------------------------------------------------
26 // ------------------------------------------------------------------------
28 // Plug-in instantiation
29 private final static Plugin fPlugin
= GdbTraceCorePlugin
.getDefault();
31 // ------------------------------------------------------------------------
33 // ------------------------------------------------------------------------
36 public void testPluginId() {
37 assertEquals("Plugin ID", "org.eclipse.tracecompass.gdbtrace.core", GdbTraceCorePlugin
.PLUGIN_ID
);
41 public void testGetDefault() {
42 Plugin plugin
= GdbTraceCorePlugin
.getDefault();
43 assertEquals("getDefault()", plugin
, fPlugin
);
This page took 0.036253 seconds and 5 git commands to generate.