@Test public void toStringReturnsAbsoluteDirectoryPath() { File outputDirectory = new File(getClass().getResource("/compiledResults").getFile()); CompiledJavaccFilesDirectory directory = new CompiledJavaccFilesDirectory(outputDirectory, null, null, null); String stringValue = directory.toString(); assertEquals(outputDirectory.getAbsolutePath(), stringValue); }
@Override public String toString() { return outputDirectory.getAbsolutePath(); }
CompiledJavaccFilesDirectory { @Override public String toString() { return outputDirectory.getAbsolutePath(); } }
CompiledJavaccFilesDirectory { @Override public String toString() { return outputDirectory.getAbsolutePath(); } CompiledJavaccFilesDirectory(File outputDirectory, FileTree customAstClassesDirectory, File targetDirectory, Logger logger); }
CompiledJavaccFilesDirectory { @Override public String toString() { return outputDirectory.getAbsolutePath(); } CompiledJavaccFilesDirectory(File outputDirectory, FileTree customAstClassesDirectory, File targetDirectory, Logger logger); Collection<CompiledJavaccFile> listFiles(); @Override String toString(); }
CompiledJavaccFilesDirectory { @Override public String toString() { return outputDirectory.getAbsolutePath(); } CompiledJavaccFilesDirectory(File outputDirectory, FileTree customAstClassesDirectory, File targetDirectory, Logger logger); Collection<CompiledJavaccFile> listFiles(); @Override String toString();  }