diff options
author | 2017-06-21 10:02:05 +0200 | |
---|---|---|
committer | 2017-06-21 14:48:25 +0200 | |
commit | 4db80dc981d4915e2f3f8d4151d925b736b8e840 (patch) | |
tree | 664c1a5c9a8f20368cbabc44ef1d0288eb845098 /src/test/java/com/google/devtools/build | |
parent | a9590f2b4b052c4d1c69b9cf99cf488ee994be8d (diff) |
ActionMetadataHandler: proper metadata even for the volatile workspace status
This is part of cleaning up the ActionInputFileCache / MetadataHandler split.
Both classes generally store and return identical information, except the
MetadataHandler lies about constant metadata artifacts. Instead of lying here,
update the ActionCacheChecker, which is the only place where we actually want
constant metadata.
Additionally, remove getMetadataMaybe; again, the only caller that needs
special casing is the ActionCacheChecker, so we move the special casing there
instead of having it in the MetadataHandler.
PiperOrigin-RevId: 159665345
Diffstat (limited to 'src/test/java/com/google/devtools/build')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/analysis/actions/PopulateTreeArtifactActionTest.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/analysis/actions/PopulateTreeArtifactActionTest.java b/src/test/java/com/google/devtools/build/lib/analysis/actions/PopulateTreeArtifactActionTest.java index b21470127b..e4b42a7c14 100644 --- a/src/test/java/com/google/devtools/build/lib/analysis/actions/PopulateTreeArtifactActionTest.java +++ b/src/test/java/com/google/devtools/build/lib/analysis/actions/PopulateTreeArtifactActionTest.java @@ -73,11 +73,6 @@ public class PopulateTreeArtifactActionTest extends BuildViewTestCase { } @Override - public Metadata getMetadataMaybe(Artifact artifact) { - throw new UnsupportedOperationException(artifact.prettyPrint()); - } - - @Override public Metadata getMetadata(Artifact artifact) { throw new UnsupportedOperationException(artifact.prettyPrint()); } |