diff options
author | 2017-09-14 09:55:40 +0200 | |
---|---|---|
committer | 2017-09-14 18:47:27 +0200 | |
commit | 3b63a4e67c547a656000dfd4e9d61f68a21b92d8 (patch) | |
tree | fa84bb33fd9741aa5a59de627909e0f5dd984e5f /src/test/java/com/google/devtools/build/lib/pkgcache/BuildFileModificationTest.java | |
parent | aa437e01b1879f0e1ba0452ce6137d80586258da (diff) |
Remove deepExecRoot from BlazeDirectories. It is now the default. Also inline constructor that did ServerDirectories creation inline: don't pollute production code for tests' convenience.
PiperOrigin-RevId: 168652349
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/pkgcache/BuildFileModificationTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/pkgcache/BuildFileModificationTest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/pkgcache/BuildFileModificationTest.java b/src/test/java/com/google/devtools/build/lib/pkgcache/BuildFileModificationTest.java index 6310b97c99..fb7581b24f 100644 --- a/src/test/java/com/google/devtools/build/lib/pkgcache/BuildFileModificationTest.java +++ b/src/test/java/com/google/devtools/build/lib/pkgcache/BuildFileModificationTest.java @@ -21,6 +21,7 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.devtools.build.lib.analysis.BlazeDirectories; import com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider; +import com.google.devtools.build.lib.analysis.ServerDirectories; import com.google.devtools.build.lib.analysis.util.AnalysisMock; import com.google.devtools.build.lib.cmdline.PackageIdentifier; import com.google.devtools.build.lib.packages.NoSuchPackageException; @@ -73,7 +74,10 @@ public class BuildFileModificationTest extends FoundationTestCase { analysisMock = AnalysisMock.get(); ruleClassProvider = analysisMock.createRuleClassProvider(); BlazeDirectories directories = - new BlazeDirectories(outputBase, outputBase, rootDirectory, analysisMock.getProductName()); + new BlazeDirectories( + new ServerDirectories(outputBase, outputBase), + rootDirectory, + analysisMock.getProductName()); skyframeExecutor = SequencedSkyframeExecutor.create( analysisMock |