diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/skyframe')
3 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/ArtifactFunctionTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/ArtifactFunctionTest.java index 21b0a10274..0a8c460803 100644 --- a/src/test/java/com/google/devtools/build/lib/skyframe/ArtifactFunctionTest.java +++ b/src/test/java/com/google/devtools/build/lib/skyframe/ArtifactFunctionTest.java @@ -347,7 +347,7 @@ public class ArtifactFunctionTest extends ArtifactFunctionTestCase { Map<Artifact, FileArtifactValue> additionalOutputData = new HashMap<>(); ActionLookupData actionLookupData = (ActionLookupData) skyKey.argument(); ActionLookupValue actionLookupValue = - (ActionLookupValue) env.getValue(actionLookupData.getActionLookupNode()); + (ActionLookupValue) env.getValue(actionLookupData.getActionLookupKey()); Action action = actionLookupValue.getAction(actionLookupData.getActionIndex()); Artifact output = Iterables.getOnlyElement(action.getOutputs()); diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java index 48ccd7e341..648e038f11 100644 --- a/src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java +++ b/src/test/java/com/google/devtools/build/lib/skyframe/FilesystemValueCheckerTest.java @@ -361,7 +361,7 @@ public class FilesystemValueCheckerTest { FileSystemUtils.writeContentAsLatin1(out1.getPath(), "hello"); FileSystemUtils.writeContentAsLatin1(out2.getPath(), "fizzlepop"); - SkyKey actionLookupKey = + ActionLookupKey actionLookupKey = new ActionLookupKey() { @Override public SkyFunctionName functionName() { @@ -440,7 +440,7 @@ public class FilesystemValueCheckerTest { SpecialArtifact last = createTreeArtifact("zzzzzzzzzz"); FileSystemUtils.createDirectoryAndParents(last.getPath()); - SkyKey actionLookupKey = + ActionLookupKey actionLookupKey = new ActionLookupKey() { @Override public SkyFunctionName functionName() { diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/TreeArtifactMetadataTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/TreeArtifactMetadataTest.java index 9e3fd39ddd..aaadc2295a 100644 --- a/src/test/java/com/google/devtools/build/lib/skyframe/TreeArtifactMetadataTest.java +++ b/src/test/java/com/google/devtools/build/lib/skyframe/TreeArtifactMetadataTest.java @@ -250,7 +250,7 @@ public class TreeArtifactMetadataTest extends ArtifactFunctionTestCase { Map<TreeFileArtifact, FileArtifactValue> treeArtifactData = new HashMap<>(); ActionLookupData actionLookupData = (ActionLookupData) skyKey.argument(); ActionLookupValue actionLookupValue = - (ActionLookupValue) env.getValue(actionLookupData.getActionLookupNode()); + (ActionLookupValue) env.getValue(actionLookupData.getActionLookupKey()); Action action = actionLookupValue.getAction(actionLookupData.getActionIndex()); SpecialArtifact output = (SpecialArtifact) Iterables.getOnlyElement(action.getOutputs()); for (PathFragment subpath : testTreeArtifactContents) { |