use of com.facebook.buck.io.ProjectFilesystemDelegate in project buck by facebook.
the class AutoSparseIntegrationTest method testExecutableNotExisting.
@Test
public void testExecutableNotExisting() {
ProjectFilesystemDelegate delegate = createDelegate();
Assume.assumeFalse(delegate.isExecutable(repoPath.resolve("nonsuch")));
}
use of com.facebook.buck.io.ProjectFilesystemDelegate in project buck by facebook.
the class AutoSparseIntegrationTest method testSymlink.
@Test
public void testSymlink() {
ProjectFilesystemDelegate delegate = createDelegate();
Assume.assumeTrue(delegate.isSymlink(repoPath.resolve("file3")));
}
use of com.facebook.buck.io.ProjectFilesystemDelegate in project buck by facebook.
the class AutoSparseIntegrationTest method testAutosparseEnabledHgSubdir.
@Test
public void testAutosparseEnabledHgSubdir() {
ProjectFilesystemDelegate delegate = createDelegate(repoPath.resolve("not_hidden_subdir"), true, ImmutableList.of());
Assume.assumeTrue(delegate instanceof AutoSparseProjectFilesystemDelegate);
}
use of com.facebook.buck.io.ProjectFilesystemDelegate in project buck by facebook.
the class AutoSparseIntegrationTest method testAutosparseEnabledNotHgDir.
@Test
public void testAutosparseEnabledNotHgDir() {
ProjectFilesystemDelegate delegate = createDelegate(repoPath.getParent(), true, ImmutableList.of());
Assume.assumeFalse(delegate instanceof AutoSparseProjectFilesystemDelegate);
}
Aggregations