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
index 68cdcd4441d327cf0ee6dd9848df3a71934b0bc7..9bdeaaf77bc5fa2eae95f5f63ccfa4eb089e5509 100644 (file)
@@ -13,6 +13,8 @@
 package org.eclipse.linuxtools.lttng.tests;
 
 import org.eclipse.core.runtime.Plugin;
+import org.eclipse.linuxtools.tmf.Tracer;
+import org.osgi.framework.BundleContext;
 
 /**
  * <b><u>TmfCoreTestPlugin</u></b>
@@ -53,4 +55,16 @@ public class LTTngCoreTestPlugin extends Plugin {
     public static LTTngCoreTestPlugin getPlugin() {
         return plugin;
     }
+    
+    @Override
+    public void start(BundleContext context) throws Exception {
+        super.start(context);
+        plugin = this;
+    }
+
+    @Override
+    public void stop(BundleContext context) throws Exception {
+        plugin = null;
+        super.stop(context);
+    }
 }
This page took 0.026474 seconds and 5 git commands to generate.