X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=tmf%2Forg.eclipse.tracecompass.tmf.remote.core.tests%2Fsrc%2Forg%2Feclipse%2Ftracecompass%2Ftmf%2Fremote%2Fcore%2Ftests%2Fshell%2FCommandShellTest.java;h=d5e053cbeadb3b6cdcc78497f4b4988462baa25e;hb=0e4f957eff33d35923105497af515178953cacbc;hp=03b2be25e8bec046d9b6f2193a641afd4499d159;hpb=aa35350660b47f6479a7fa499d8d10e2772e46fd;p=deliverable%2Ftracecompass.git diff --git a/tmf/org.eclipse.tracecompass.tmf.remote.core.tests/src/org/eclipse/tracecompass/tmf/remote/core/tests/shell/CommandShellTest.java b/tmf/org.eclipse.tracecompass.tmf.remote.core.tests/src/org/eclipse/tracecompass/tmf/remote/core/tests/shell/CommandShellTest.java index 03b2be25e8..d5e053cbea 100644 --- a/tmf/org.eclipse.tracecompass.tmf.remote.core.tests/src/org/eclipse/tracecompass/tmf/remote/core/tests/shell/CommandShellTest.java +++ b/tmf/org.eclipse.tracecompass.tmf.remote.core.tests/src/org/eclipse/tracecompass/tmf/remote/core/tests/shell/CommandShellTest.java @@ -58,7 +58,7 @@ public class CommandShellTest { ICommandShell shell = LOCAL_PROXY.createCommandShell(); ICommandInput command = shell.createCommand(); - command.addAll(checkNotNull(Arrays.asList(CMD_INPUT_UNIX))); + command.addAll(Arrays.asList(CMD_INPUT_UNIX)); ICommandResult result = shell.executeCommand(command, new NullProgressMonitor()); assertEquals(0, result.getResult()); } @@ -76,7 +76,7 @@ public class CommandShellTest { ICommandShell shell = LOCAL_PROXY.createCommandShell(); ICommandInput command = shell.createCommand(); - command.addAll(checkNotNull(Arrays.asList(CMD_ERROR_INPUT_UNIX))); + command.addAll(Arrays.asList(CMD_ERROR_INPUT_UNIX)); ICommandResult result = shell.executeCommand(command, new NullProgressMonitor()); assertTrue(result.getResult() > 0); } @@ -95,7 +95,7 @@ public class CommandShellTest { ICommandShell shell = LOCAL_PROXY.createCommandShell(); ICommandInput command = shell.createCommand(); - command.addAll(checkNotNull(Arrays.asList(CMD_UNKNOWN_COMMAND_UNIX))); + command.addAll(Arrays.asList(CMD_UNKNOWN_COMMAND_UNIX)); ICommandResult result = shell.executeCommand(command, new NullProgressMonitor()); assertTrue(result.getResult() > 0); }