Update enable channel and event dialogs and handlers
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui.tests / src / org / eclipse / linuxtools / lttng2 / ui / tests / control / model / component / TraceControlUstSessionTests.java
index 5b6d3206304691d1e295d846af18855de0a9d5b6..d5189bddd35169ac5dca932d8ad5eed7f729d18d 100644 (file)
@@ -22,7 +22,7 @@ import junit.framework.TestSuite;
 
 import org.eclipse.core.runtime.FileLocator;
 import org.eclipse.core.runtime.Path;
-import org.eclipse.linuxtools.internal.lttng2.stubs.dialogs.CreateChannelDialogStub;
+import org.eclipse.linuxtools.internal.lttng2.stubs.dialogs.EnableChannelDialogStub;
 import org.eclipse.linuxtools.internal.lttng2.stubs.dialogs.CreateSessionDialogStub;
 import org.eclipse.linuxtools.internal.lttng2.stubs.dialogs.DestroyConfirmDialogStub;
 import org.eclipse.linuxtools.internal.lttng2.stubs.dialogs.EnableEventsDialogStub;
@@ -170,11 +170,11 @@ public class TraceControlUstSessionTests extends TestCase {
         // ------------------------------------------------------------------------
         // Enable default channel on created session above
         // ------------------------------------------------------------------------
-        CreateChannelDialogStub channelStub = new CreateChannelDialogStub();
+        EnableChannelDialogStub channelStub = new EnableChannelDialogStub();
         channelStub.setIsKernel(false);
-        TraceControlDialogFactory.getInstance().setCreateChannelDialog(channelStub);
+        TraceControlDialogFactory.getInstance().setEnableChannelDialog(channelStub);
 
-        fFacility.executeCommand(session, "createChannelOnSession");
+        fFacility.executeCommand(session, "enableChannelOnSession");
         
         // Verify that Kernel domain was created
         ITraceControlComponent[] domains = session.getChildren();
@@ -211,7 +211,7 @@ public class TraceControlUstSessionTests extends TestCase {
         info.setReadTimer(200);
         channelStub.setChannelInfo(info);
         
-        fFacility.executeCommand(domains[0], "createChannelOnDomain");
+        fFacility.executeCommand(domains[0], "enableChannelOnDomain");
 
         // Get Kernel domain component instance
         domains = session.getChildren();
This page took 0.026453 seconds and 5 git commands to generate.