@Test public void testCallWrappedWithOtherExecutableAndArguments_withSingleRobotCommandArg() throws IOException { final RunCommandLine cmdLine = RunCommandLineCallBuilder.create(SuiteExecutor.Python, "/x/y/z/python", 12345) .withExecutableFile(new File("exec")) .addUserArgumentsForExecutableFile(newArrayList("args")) .useSingleRobotCommandLineArg(true) .build(); assertThat(cmdLine.getCommandLine()).hasSize(3).containsSubsequence("args"); assertThat(cmdLine.getCommandLine()[0]).endsWith("exec"); assertThat(cmdLine.getCommandLine()[2]).startsWith("/x/y/z/python -m robot.run --listener"); assertThat(cmdLine.getArgumentFile()).isNotPresent(); }
public static IRunCommandLineBuilder create(final SuiteExecutor executor, final String executorPath, final int listenerPort) { return new Builder(executor, executorPath, listenerPort); }
RunCommandLineCallBuilder { public static IRunCommandLineBuilder create(final SuiteExecutor executor, final String executorPath, final int listenerPort) { return new Builder(executor, executorPath, listenerPort); } }
RunCommandLineCallBuilder { public static IRunCommandLineBuilder create(final SuiteExecutor executor, final String executorPath, final int listenerPort) { return new Builder(executor, executorPath, listenerPort); }  }
RunCommandLineCallBuilder { public static IRunCommandLineBuilder create(final SuiteExecutor executor, final String executorPath, final int listenerPort) { return new Builder(executor, executorPath, listenerPort); }  static IRunCommandLineBuilder create(final SuiteExecutor executor, final String executorPath,
            final int listenerPort); }
RunCommandLineCallBuilder { public static IRunCommandLineBuilder create(final SuiteExecutor executor, final String executorPath, final int listenerPort) { return new Builder(executor, executorPath, listenerPort); }  static IRunCommandLineBuilder create(final SuiteExecutor executor, final String executorPath,
            final int listenerPort);  }