use of com.google.devtools.build.lib.vfs.Path.PathFactory in project bazel by bazelbuild.
the class PathWindowsTest method initializeFileSystem.
@Before
public final void initializeFileSystem() throws Exception {
filesystem = new InMemoryFileSystem(BlazeClock.instance()) {
@Override
protected PathFactory getPathFactory() {
return WindowsFileSystem.getPathFactoryForTesting(shortPathResolver);
}
@Override
public boolean isFilePathCaseSensitive() {
return false;
}
};
root = (WindowsPath) filesystem.getRootDirectory().getRelative("C:/");
root.createDirectory();
}
Aggregations