diff options
author | tomlu <tomlu@google.com> | 2018-01-16 11:07:51 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-16 11:09:25 -0800 |
commit | 1cdcdf9a72458850f8a0f40c7cab1699685ed6cc (patch) | |
tree | 888c68cd1fc59cc4608ac178ae633c1f40e22230 /src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java | |
parent | 644ada0444a9db285eb4e6c2511fc9581cc69880 (diff) |
Rename Root to ArtifactRoot.
This is slightly more descriptive, and we will potentially want to use the name Root for a broader concept shared between ArtifactRoot and RootedPath.
PiperOrigin-RevId: 182082367
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java b/src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java index 391ccf5441..28da727027 100644 --- a/src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java +++ b/src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java @@ -35,8 +35,8 @@ import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public class ExecutableSymlinkActionTest { private Scratch scratch = new Scratch(); - private Root inputRoot; - private Root outputRoot; + private ArtifactRoot inputRoot; + private ArtifactRoot outputRoot; TestFileOutErr outErr; private Executor executor; private final ActionKeyContext actionKeyContext = new ActionKeyContext(); @@ -45,8 +45,8 @@ public class ExecutableSymlinkActionTest { public final void createExecutor() throws Exception { final Path inputDir = scratch.dir("/in"); Path execRoot = scratch.getFileSystem().getPath("/"); - inputRoot = Root.asDerivedRoot(execRoot, inputDir); - outputRoot = Root.asDerivedRoot(execRoot, scratch.dir("/out")); + inputRoot = ArtifactRoot.asDerivedRoot(execRoot, inputDir); + outputRoot = ArtifactRoot.asDerivedRoot(execRoot, scratch.dir("/out")); outErr = new TestFileOutErr(); executor = new DummyExecutor(scratch.getFileSystem(), inputDir); } |