diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/analysis/util/BuildViewTestCase.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/analysis/util/BuildViewTestCase.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/analysis/util/BuildViewTestCase.java b/src/test/java/com/google/devtools/build/lib/analysis/util/BuildViewTestCase.java index 7f7d05b052..7068278951 100644 --- a/src/test/java/com/google/devtools/build/lib/analysis/util/BuildViewTestCase.java +++ b/src/test/java/com/google/devtools/build/lib/analysis/util/BuildViewTestCase.java @@ -84,6 +84,7 @@ import com.google.devtools.build.lib.events.Event; import com.google.devtools.build.lib.events.EventHandler; import com.google.devtools.build.lib.events.StoredEventHandler; import com.google.devtools.build.lib.exec.ExecutionOptions; +import com.google.devtools.build.lib.packages.AspectParameters; import com.google.devtools.build.lib.packages.Attribute.ConfigurationTransition; import com.google.devtools.build.lib.packages.AttributeMap; import com.google.devtools.build.lib.packages.ConstantRuleVisibility; @@ -861,9 +862,9 @@ public abstract class BuildViewTestCase extends FoundationTestCase { * Gets a derived Artifact for testing in the subdirectory of the {@link * BuildConfiguration#getBinDirectory()} corresponding to the package of {@code owner}, * where the given artifact belongs to the given ConfiguredTarget together with the given Aspect. - * So to specify a file foo/foo.o owned by target //foo:foo with an apsect from FooAspect, + * So to specify a file foo/foo.o owned by target //foo:foo with an aspect from FooAspect, * {@code packageRelativePath} should just be "foo.o", and aspectOfOwner should be - * FooAspect.class. This method is necessary when an Apsect of the target, not the target itself, + * FooAspect.class. This method is necessary when an Aspect of the target, not the target itself, * is creating an Artifact. */ protected Artifact getBinArtifact(String packageRelativePath, ConfiguredTarget owner, @@ -871,7 +872,8 @@ public abstract class BuildViewTestCase extends FoundationTestCase { return getPackageRelativeDerivedArtifact(packageRelativePath, owner.getConfiguration().getBinDirectory(), (AspectValue.AspectKey) AspectValue.key( - owner.getLabel(), owner.getConfiguration(), creatingAspectFactory).argument()); + owner.getLabel(), owner.getConfiguration(), creatingAspectFactory, + AspectParameters.EMPTY).argument()); } /** @@ -930,7 +932,8 @@ public abstract class BuildViewTestCase extends FoundationTestCase { return getPackageRelativeDerivedArtifact(packageRelativePath, owner.getConfiguration().getGenfilesDirectory(), (AspectValue.AspectKey) AspectValue.key( - owner.getLabel(), owner.getConfiguration(), creatingAspectFactory).argument()); + owner.getLabel(), owner.getConfiguration(), creatingAspectFactory, + AspectParameters.EMPTY).argument()); } /** |