@Test public void terraformCommandLineDecoratorUsesDefaultRootModuleDirWhenTfSourceDirIsNotFound() throws IOException { TerraformCommandLineDecorator terraformCommandLineDecorator = new TerraformCommandLineDecorator(TerraformCommand.APPLY); Assert.assertEquals(Paths.get("."), ((CommandLine)terraformCommandLineDecorator.getCommandLine()).getDirectory()); }
public Executable getCommandLine() { return this.commandLine; }
TerraformCommandLineDecorator implements Executable { public Executable getCommandLine() { return this.commandLine; } }
TerraformCommandLineDecorator implements Executable { public Executable getCommandLine() { return this.commandLine; } TerraformCommandLineDecorator(TerraformCommand cmd, Executable commandLine, Logger logger);  TerraformCommandLineDecorator(TerraformCommand cmd, Executable commandLine);  TerraformCommandLineDecorator(TerraformCommand cmd, Logger logger);  TerraformCommandLineDecorator(TerraformCommand cmd);  TerraformCommandLineDecorator(TerraformCommand cmd, String tfRootDir); }
TerraformCommandLineDecorator implements Executable { public Executable getCommandLine() { return this.commandLine; } TerraformCommandLineDecorator(TerraformCommand cmd, Executable commandLine, Logger logger);  TerraformCommandLineDecorator(TerraformCommand cmd, Executable commandLine);  TerraformCommandLineDecorator(TerraformCommand cmd, Logger logger);  TerraformCommandLineDecorator(TerraformCommand cmd);  TerraformCommandLineDecorator(TerraformCommand cmd, String tfRootDir); @Override String execute(String command, int timeout); @Override String execute(String command); @Override void setLogger(Logger logger); Executable getCommandLine(); }
TerraformCommandLineDecorator implements Executable { public Executable getCommandLine() { return this.commandLine; } TerraformCommandLineDecorator(TerraformCommand cmd, Executable commandLine, Logger logger);  TerraformCommandLineDecorator(TerraformCommand cmd, Executable commandLine);  TerraformCommandLineDecorator(TerraformCommand cmd, Logger logger);  TerraformCommandLineDecorator(TerraformCommand cmd);  TerraformCommandLineDecorator(TerraformCommand cmd, String tfRootDir); @Override String execute(String command, int timeout); @Override String execute(String command); @Override void setLogger(Logger logger); Executable getCommandLine();  }