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;
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";
}
@Test
+ @Ignore
public void testGetSessionWithLive() {
try {
fShell.setScenario(SCEN_GET_SESSION_WITH_LIVE);
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());
}
@Test
+ @Ignore
public void testCreateLiveSession() throws ExecutionException {
fShell.setScenario(SCEN_CREATE_LIVE_SESSION);
}
@Test
+ @Ignore
public void testCreateLiveSessionErrors() {
try {
fShell.setScenario(SCEN_CREATE_LIVE_SESSION_ERRORS);