@Test public void executorDoesNotInterruptExecutionInCaseOfError() { action.execute(javaExecSpec); verify(javaExecSpec).setIgnoreExitValue(true); }
@Override public void execute(JavaExecSpec executor) { executor.classpath(classpath); executor.setMain("org.javacc.jjdoc.JJDocMain"); executor.args((Object[]) arguments.toArray()); executor.setIgnoreExitValue(true); }
JjdocExecutorAction implements Action<JavaExecSpec> { @Override public void execute(JavaExecSpec executor) { executor.classpath(classpath); executor.setMain("org.javacc.jjdoc.JJDocMain"); executor.args((Object[]) arguments.toArray()); executor.setIgnoreExitValue(true); } }
JjdocExecutorAction implements Action<JavaExecSpec> { @Override public void execute(JavaExecSpec executor) { executor.classpath(classpath); executor.setMain("org.javacc.jjdoc.JJDocMain"); executor.args((Object[]) arguments.toArray()); executor.setIgnoreExitValue(true); } JjdocExecutorAction(Configuration classpath, ProgramArguments arguments); }
JjdocExecutorAction implements Action<JavaExecSpec> { @Override public void execute(JavaExecSpec executor) { executor.classpath(classpath); executor.setMain("org.javacc.jjdoc.JJDocMain"); executor.args((Object[]) arguments.toArray()); executor.setIgnoreExitValue(true); } JjdocExecutorAction(Configuration classpath, ProgramArguments arguments); @Override void execute(JavaExecSpec executor); }
JjdocExecutorAction implements Action<JavaExecSpec> { @Override public void execute(JavaExecSpec executor) { executor.classpath(classpath); executor.setMain("org.javacc.jjdoc.JJDocMain"); executor.args((Object[]) arguments.toArray()); executor.setIgnoreExitValue(true); } JjdocExecutorAction(Configuration classpath, ProgramArguments arguments); @Override void execute(JavaExecSpec executor);  }