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 07194ef60aba97cc2293ee2ee3890be5b0de619a..8618b25e30aea6f4a652053743800b01cdf21a69 100644 (file)
@@ -73,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";
@@ -1119,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());
This page took 0.025713 seconds and 5 git commands to generate.