diff options
author | 2017-08-18 21:20:29 +0200 | |
---|---|---|
committer | 2017-08-21 14:15:59 +0200 | |
commit | 8529746358ff5d88dc7ddf584a85ba0aa1a269a8 (patch) | |
tree | 5aa2c9f9e6f22b37d4d1c320d21fa4436545051b /src/test/java/com/google/devtools/build/lib/runtime | |
parent | 8158a286a8e72ec3f5259d155f6856fea9d07fea (diff) |
Replace TransitionApplier interface with a dedicated class.
This accomplishes a few goals:
1. Removes the outdated BuildConfiguration.StaticConfigurationApplier code.
2. Removes the TransitionApplier abstraction completely. This was an awkward
bridge meant to support both static and dynamic implementations.
3. Moves transition logic to its own dedicated class: ConfigurationResolver.
This no longer belongs in BuildConfiguration, which we ultimately want to
become a simple <key, value> map.
Part of the static config cleanup effort.
PiperOrigin-RevId: 165736955
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/runtime')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java b/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java index 83c0891f3d..2aac18d963 100644 --- a/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java +++ b/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java @@ -614,8 +614,7 @@ public class BuildEventStreamerTest extends FoundationTestCase { BuildConfiguration.Fragment>of(), BuildOptions.of(ImmutableList.<Class<? extends FragmentOptions>>of( BuildConfiguration.Options.class)), - "workspace", - null); + "workspace"); BuildEvent firstWithConfiguration = new GenericConfigurationEvent(testId("first"), configuration); BuildEvent secondWithConfiguration = |