@Test public void testLinkDirectory() throws IOException { try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) { Path folder = Files.createDirectory(fs.getPath("/folder")); Path file = Files.createFile(folder.resolve("generator.tg")); Path linkFolder = Files.createSymbolicLink(fs.getPath("/work/folder.link"), folder); EurostagDDB eurostagDDB = new EurostagDDB(Collections.singletonList(linkFolder)); assertEquals(file, eurostagDDB.findGenerator("generator")); } }
Path findGenerator(String idDdb) { return generators.get(idDdb); }
EurostagDDB { Path findGenerator(String idDdb) { return generators.get(idDdb); } }
EurostagDDB { Path findGenerator(String idDdb) { return generators.get(idDdb); } EurostagDDB(List<Path> ddbDirs); }
EurostagDDB { Path findGenerator(String idDdb) { return generators.get(idDdb); } EurostagDDB(List<Path> ddbDirs);  }
EurostagDDB { Path findGenerator(String idDdb) { return generators.get(idDdb); } EurostagDDB(List<Path> ddbDirs);   }