@Test void testHasFileOutputTrue() { Script script = when(mock(Script.class).getContent()).thenReturn("lorum ${outputFile} ipsum").getMock(); assertTrue(rScriptRunner.hasFileOutput(script)); }
@Override public boolean hasFileOutput(Script script) { return ScriptUtils.hasScriptVariable(script, PARAM_OUTPUT_FILE); }
RScriptRunner implements ScriptRunner { @Override public boolean hasFileOutput(Script script) { return ScriptUtils.hasScriptVariable(script, PARAM_OUTPUT_FILE); } }
RScriptRunner implements ScriptRunner { @Override public boolean hasFileOutput(Script script) { return ScriptUtils.hasScriptVariable(script, PARAM_OUTPUT_FILE); } RScriptRunner(RScriptExecutor rScriptExecutor); }
RScriptRunner implements ScriptRunner { @Override public boolean hasFileOutput(Script script) { return ScriptUtils.hasScriptVariable(script, PARAM_OUTPUT_FILE); } RScriptRunner(RScriptExecutor rScriptExecutor); @Override String getName(); @Override boolean hasFileOutput(Script script); @Override String runScript(Script script, Map<String, Object> parameters); }
RScriptRunner implements ScriptRunner { @Override public boolean hasFileOutput(Script script) { return ScriptUtils.hasScriptVariable(script, PARAM_OUTPUT_FILE); } RScriptRunner(RScriptExecutor rScriptExecutor); @Override String getName(); @Override boolean hasFileOutput(Script script); @Override String runScript(Script script, Map<String, Object> parameters);  }