tmf.xml: Move all .core and .ui packages to internal
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.analysis.xml.core.tests / src / org / eclipse / tracecompass / tmf / analysis / xml / core / tests / XmlAnalysisCorePluginTest.java
CommitLineData
faf37fd0 1/*******************************************************************************
e11e382c 2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
faf37fd0
GB
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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
12
2bdf0193 13package org.eclipse.tracecompass.tmf.analysis.xml.core.tests;
faf37fd0
GB
14
15import static org.junit.Assert.assertEquals;
16
2bdf0193 17import org.eclipse.tracecompass.internal.tmf.analysis.xml.core.Activator;
faf37fd0
GB
18import org.junit.Test;
19
20/**
e11e382c 21 * Test the XML Analysis Core plug-in activator
faf37fd0
GB
22 */
23public class XmlAnalysisCorePluginTest {
24 // ------------------------------------------------------------------------
25 // Attributes
26 // ------------------------------------------------------------------------
27
28 // Plug-in instantiation
29 static final Activator fPlugin = new Activator();
30
31 // ------------------------------------------------------------------------
32 // Test cases
33 // ------------------------------------------------------------------------
34
35 /**
36 * Test the plugin ID.
37 */
38 @Test
39 public void testTmfCorePluginId() {
2bdf0193 40 assertEquals("Plugin ID", "org.eclipse.tracecompass.tmf.analysis.xml.core", Activator.PLUGIN_ID);
faf37fd0
GB
41 }
42
43 /**
44 * Test the getDefault() static method.
45 */
46 @Test
47 public void testGetDefault() {
48 Activator plugin = Activator.getDefault();
49 assertEquals("getDefault()", plugin, fPlugin);
50 }
51}
This page took 0.069229 seconds and 5 git commands to generate.