1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.analysis
.xml
.ui
.tests
;
15 import static org
.junit
.Assert
.assertEquals
;
17 import org
.eclipse
.linuxtools
.internal
.tmf
.analysis
.xml
.ui
.Activator
;
18 import org
.junit
.Test
;
21 * Test the XML Analysis UI plug-in activator
23 * @author Geneviève Bastien
25 public class XmlAnalysisUiPluginTest
{
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
30 // Plug-in instantiation
31 static final Activator fPlugin
= new Activator();
33 // ------------------------------------------------------------------------
35 // ------------------------------------------------------------------------
41 public void testTmfCorePluginId() {
42 assertEquals("Plugin ID", "org.eclipse.linuxtools.tmf.analysis.xml.ui", Activator
.PLUGIN_ID
);
46 * Test the getDefault() static method.
49 public void testGetDefault() {
50 Activator plugin
= Activator
.getDefault();
51 assertEquals("getDefault()", plugin
, fPlugin
);
This page took 0.030725 seconds and 5 git commands to generate.