Merge branch 'master' into lttng_2_0_control_dev
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui.tests / stubs / org / eclipse / linuxtools / lttng / stubs / service / shells / LttngNotExistsShell.java
CommitLineData
eb1bab5b
BH
1package org.eclipse.linuxtools.lttng.stubs.service.shells;
2
3import org.eclipse.core.commands.ExecutionException;
4import org.eclipse.core.runtime.IProgressMonitor;
5import org.eclipse.linuxtools.lttng.ui.views.control.service.CommandResult;
6import org.eclipse.linuxtools.lttng.ui.views.control.service.ICommandResult;
7
8public class LttngNotExistsShell extends TestCommandShell {
9
10 @SuppressWarnings("nls")
11 @Override
12 public ICommandResult executeCommand(String command, IProgressMonitor monitor, boolean checkReturnValue) throws ExecutionException {
13 String[] output = new String[1];
14 output[0] = String.valueOf("Command not found");
15 return new CommandResult(1, output);
16 }
17}
This page took 0.029512 seconds and 5 git commands to generate.