Aspect terminology update.
Aspect => ConfiguredAspect
AspectWithParameters => Aspect
--
MOS_MIGRATED_REVID=107375211
diff --git a/src/test/java/com/google/devtools/build/lib/analysis/AspectTest.java b/src/test/java/com/google/devtools/build/lib/analysis/AspectTest.java
index 7341ba1..9616dff 100644
--- a/src/test/java/com/google/devtools/build/lib/analysis/AspectTest.java
+++ b/src/test/java/com/google/devtools/build/lib/analysis/AspectTest.java
@@ -237,13 +237,15 @@
}
@Override
- public Aspect create(ConfiguredTarget base,
- RuleContext ruleContext, AspectParameters parameters) throws InterruptedException {
+ public ConfiguredAspect create(
+ ConfiguredTarget base, RuleContext ruleContext, AspectParameters parameters)
+ throws InterruptedException {
Object lateBoundPrereq = ruleContext.getPrerequisite(":late", TARGET);
- return new Aspect.Builder("testaspect")
+ return new ConfiguredAspect.Builder("testaspect")
.addProvider(
- new AspectInfo(NestedSetBuilder.create(
- Order.STABLE_ORDER, lateBoundPrereq != null ? "non-empty" : "empty")))
+ new AspectInfo(
+ NestedSetBuilder.create(
+ Order.STABLE_ORDER, lateBoundPrereq != null ? "non-empty" : "empty")))
.build();
}
}