diff options
author | 2016-03-18 02:43:32 +0000 | |
---|---|---|
committer | 2016-03-18 12:48:34 +0000 | |
commit | 653b1ab828115a648c89ef9ed062f904c3a9d12d (patch) | |
tree | cfaa948c3705c5f37ae079a1d21955458f6aa62b /src/test/java | |
parent | a29cf78cfc35e943c1e13a98ad009f1bdae486eb (diff) |
Allow PackageRootResolver to take in directories for findPackageRoots().
--
MOS_MIGRATED_REVID=117512506
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/actions/ArtifactFactoryTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/actions/ArtifactFactoryTest.java b/src/test/java/com/google/devtools/build/lib/actions/ArtifactFactoryTest.java index ec8c39b571..f9c31ca044 100644 --- a/src/test/java/com/google/devtools/build/lib/actions/ArtifactFactoryTest.java +++ b/src/test/java/com/google/devtools/build/lib/actions/ArtifactFactoryTest.java @@ -41,6 +41,8 @@ import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; +import javax.annotation.Nullable; + /** * Tests {@link ArtifactFactory}. Also see {@link ArtifactTest} for a test * of individual artifacts. @@ -250,5 +252,12 @@ public class ArtifactFactoryTest { } return result; } + + @Override + @Nullable + public Map<PathFragment, Root> findPackageRoots(Iterable<PathFragment> execPaths) + throws PackageRootResolutionException { + return null; // unused + } } } |