Update pom.xml files for JUnit tests + add sonar support for LTTng
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.tests / src / org / eclipse / linuxtools / lttng / tests / LTTngCoreTestPlugin.java
CommitLineData
03c71d1e
ASL
1/*******************************************************************************
2 * Copyright (c) 2009 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.lttng.tests;
14
15import org.eclipse.core.runtime.Plugin;
422f0fb8
BH
16import org.eclipse.linuxtools.tmf.Tracer;
17import org.osgi.framework.BundleContext;
03c71d1e
ASL
18
19/**
20 * <b><u>TmfCoreTestPlugin</u></b>
21 * <p>
22 * The activator class controls the plug-in life cycle
23 */
3b38ea61 24@SuppressWarnings("nls")
03c71d1e
ASL
25public class LTTngCoreTestPlugin extends Plugin {
26
27 // ========================================================================
28 // Attributes
29 // ========================================================================
30
31 // The plug-in ID
32 public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng.tests";
33
34 // The shared instance
35 private static LTTngCoreTestPlugin plugin;
36
37 // ========================================================================
38 // Constructors
39 // ========================================================================
40
41 /**
42 * The constructor
43 */
44 public LTTngCoreTestPlugin() {
45 plugin = this;
46 }
47
48 // ========================================================================
49 // Accessors
50 // ========================================================================
51
52 /**
53 * @return the shared instance
54 */
55 public static LTTngCoreTestPlugin getPlugin() {
56 return plugin;
57 }
422f0fb8
BH
58
59 @Override
60 public void start(BundleContext context) throws Exception {
61 super.start(context);
62 plugin = this;
63 }
64
65 @Override
66 public void stop(BundleContext context) throws Exception {
67 plugin = null;
68 super.stop(context);
69 }
03c71d1e 70}
This page took 0.029732 seconds and 5 git commands to generate.