protected DefaultFileSystem(Path baseDir, Cache cache) { this.baseDir = baseDir; this.cache = cache; this.predicates = new DefaultFilePredicates(this.baseDir); }
@Before public void before() throws IOException { predicates = new DefaultFilePredicates(temp.newFolder().toPath()); }
@Before public void before() throws IOException { predicates = new DefaultFilePredicates(temp.newFolder().toPath()); javaFile = new TestInputFileBuilder("foo", "src/main/java/struts/Action.java") .setModuleBaseDir(moduleBasePath) .setLanguage("java") .setStatus(Status.SAME) .build(); }
protected DefaultFileSystem(Path baseDir, Cache cache) { this.baseDir = baseDir; this.cache = cache; this.predicates = new DefaultFilePredicates(this.baseDir); }
protected DefaultFileSystem(@Nullable File baseDir, Cache cache) { // Basedir can be null with views this.baseDir = baseDir != null ? baseDir.toPath().toAbsolutePath().normalize() : new File(".").toPath(); this.cache = cache; this.predicates = new DefaultFilePredicates(this.baseDir); }