control: command support for enabling all tracepoints/syscalls
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.ui.tests / src / org / eclipse / tracecompass / lttng2 / control / ui / tests / service / LTTngControlServiceTest.java
index 6e1f4a81fd6002bee06cfba55b613aa190e7e99f..8618b25e30aea6f4a652053743800b01cdf21a69 100644 (file)
@@ -58,6 +58,7 @@ import org.eclipse.tracecompass.internal.lttng2.control.ui.views.service.LTTngCo
 import org.eclipse.tracecompass.internal.lttng2.control.ui.views.service.LTTngControlServiceFactory;
 import org.junit.After;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.osgi.framework.FrameworkUtil;
 
@@ -72,11 +73,11 @@ public class LTTngControlServiceTest {
     private static final String TEST_STREAM = "LTTngServiceTest.cfg";
 
     private static final String SCEN_LTTNG_NOT_INSTALLED = "LttngNotInstalled";
-    private static final String SCEN_LTTNG_VERSION = "LttngVersion";
-    private static final String SCEN_LTTNG_VERSION_WITH_PROMPT = "LttngVersionWithPrompt";
+    protected static final String SCEN_LTTNG_VERSION = "LttngVersion";
+    protected static final String SCEN_LTTNG_VERSION_WITH_PROMPT = "LttngVersionWithPrompt";
     private static final String SCEN_LTTNG_UNSUPPORTED_VERSION = "LttngUnsupportedVersion";
     private static final String SCEN_LTTNG_NO_VERSION = "LttngNoVersion";
-    private static final String SCEN_LTTNG_COMPILED_VERSION = "LttngVersionCompiled";
+    protected static final String SCEN_LTTNG_COMPILED_VERSION = "LttngVersionCompiled";
     private static final String SCEN_NO_SESSION_AVAILABLE = "NoSessionAvailable";
     private static final String SCEN_GET_SESSION_NAMES1 = "GetSessionNames1";
     private static final String SCEN_GET_SESSION_WITH_GROUP = "GetSessionWithTracingGroup";
@@ -470,6 +471,7 @@ public class LTTngControlServiceTest {
     }
 
     @Test
+    @Ignore
     public void testGetSessionWithLive() {
         try {
             fShell.setScenario(SCEN_GET_SESSION_WITH_LIVE);
@@ -1117,7 +1119,8 @@ public class LTTngControlServiceTest {
             list.clear();
             fService.enableEvents(sessionName, channelName, list, false, null, new NullProgressMonitor());
 
-            // TODO add test with filters
+            // 6) session name, channel = null,
+            fService.enableEvents(sessionName, null, ILttngControlService.ALL_EVENTS, true, null, new NullProgressMonitor());
 
         } catch (ExecutionException e) {
             fail(e.toString());
@@ -1505,6 +1508,7 @@ public class LTTngControlServiceTest {
     }
 
     @Test
+    @Ignore
     public void testCreateLiveSession() throws ExecutionException {
         fShell.setScenario(SCEN_CREATE_LIVE_SESSION);
 
@@ -1525,6 +1529,7 @@ public class LTTngControlServiceTest {
     }
 
     @Test
+    @Ignore
     public void testCreateLiveSessionErrors() {
         try {
             fShell.setScenario(SCEN_CREATE_LIVE_SESSION_ERRORS);
This page took 0.02657 seconds and 5 git commands to generate.