@Test public void testCallWithDataSourcePaths_argsFile() throws IOException { final File f1 = new File("a"); final File f2 = new File("b"); final RunCommandLine cmdLine = RunCommandLineCallBuilder.create(SuiteExecutor.Python, "/x/y/z/python", 12345) .useArgumentFile(true) .withDataSources(newArrayList(f1, f2)) .build(); assertThat(cmdLine.getCommandLine()).hasSize(9) .containsSubsequence("/x/y/z/python", "-m", "robot.run", "--listener", "--argumentfile", f1.getAbsolutePath(), f2.getAbsolutePath()); assertThat(cmdLine.getArgumentFile()).isPresent(); }
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);  }