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());
}
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);
}
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);
}