diff options
author | 2017-09-12 23:58:34 +0200 | |
---|---|---|
committer | 2017-09-13 19:06:29 +0200 | |
commit | e0bbe757b3626fbbadbab798e6752ca086e9ff46 (patch) | |
tree | 7d58994baa09bdce6be8df4276e15d31aac9d057 /src/test/java/com/google/devtools/build/lib/analysis/DependencyTest.java | |
parent | 93d65a4473c9c963a190b433f359ef7e52273bd4 (diff) |
Remove outdated references to static vs. dynamic configurations.
PiperOrigin-RevId: 168452997
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/analysis/DependencyTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/analysis/DependencyTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/analysis/DependencyTest.java b/src/test/java/com/google/devtools/build/lib/analysis/DependencyTest.java index 4de388c23f..df6541a461 100644 --- a/src/test/java/com/google/devtools/build/lib/analysis/DependencyTest.java +++ b/src/test/java/com/google/devtools/build/lib/analysis/DependencyTest.java @@ -42,7 +42,7 @@ public class DependencyTest extends AnalysisTestCase { Dependency nullDep = Dependency.withNullConfiguration(Label.parseAbsolute("//a")); assertThat(nullDep.getLabel()).isEqualTo(Label.parseAbsolute("//a")); - assertThat(nullDep.hasStaticConfiguration()).isTrue(); + assertThat(nullDep.hasExplicitConfiguration()).isTrue(); assertThat(nullDep.getConfiguration()).isNull(); assertThat(nullDep.getAspects().getAllAspects()).isEmpty(); @@ -61,7 +61,7 @@ public class DependencyTest extends AnalysisTestCase { Dependency.withConfiguration(Label.parseAbsolute("//a"), getTargetConfiguration()); assertThat(targetDep.getLabel()).isEqualTo(Label.parseAbsolute("//a")); - assertThat(targetDep.hasStaticConfiguration()).isTrue(); + assertThat(targetDep.hasExplicitConfiguration()).isTrue(); assertThat(targetDep.getConfiguration()).isEqualTo(getTargetConfiguration()); assertThat(targetDep.getAspects().getAllAspects()).isEmpty(); @@ -85,7 +85,7 @@ public class DependencyTest extends AnalysisTestCase { Label.parseAbsolute("//a"), getTargetConfiguration(), twoAspects); assertThat(targetDep.getLabel()).isEqualTo(Label.parseAbsolute("//a")); - assertThat(targetDep.hasStaticConfiguration()).isTrue(); + assertThat(targetDep.hasExplicitConfiguration()).isTrue(); assertThat(targetDep.getConfiguration()).isEqualTo(getTargetConfiguration()); assertThat(targetDep.getAspects()).isEqualTo(twoAspects); assertThat(targetDep.getAspectConfiguration(simpleAspect)).isEqualTo(getTargetConfiguration()); @@ -142,7 +142,7 @@ public class DependencyTest extends AnalysisTestCase { Label.parseAbsolute("//a"), getTargetConfiguration(), aspects, twoAspectMap); assertThat(targetDep.getLabel()).isEqualTo(Label.parseAbsolute("//a")); - assertThat(targetDep.hasStaticConfiguration()).isTrue(); + assertThat(targetDep.hasExplicitConfiguration()).isTrue(); assertThat(targetDep.getConfiguration()).isEqualTo(getTargetConfiguration()); assertThat(targetDep.getAspects().getAllAspects()) .containsExactly(simpleAspect, attributeAspect); @@ -182,7 +182,7 @@ public class DependencyTest extends AnalysisTestCase { Label.parseAbsolute("//a"), ConfigurationTransition.HOST, twoAspects); assertThat(hostDep.getLabel()).isEqualTo(Label.parseAbsolute("//a")); - assertThat(hostDep.hasStaticConfiguration()).isFalse(); + assertThat(hostDep.hasExplicitConfiguration()).isFalse(); assertThat(hostDep.getAspects().getAllAspects()) .containsExactlyElementsIn(twoAspects.getAllAspects()); assertThat(hostDep.getTransition()).isEqualTo(ConfigurationTransition.HOST); |