aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorGravatar lberki <lberki@google.com>2018-04-09 03:16:19 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-04-09 03:17:36 -0700
commit406199f6d2f8f12af0d8338877a901bbc8293bce (patch)
tree28a5db5ac26d5b1039f13b9e1c643e6184ebc66b /src/test
parentf3de7d5ff2834ad601975929aa189cfe268a6fb9 (diff)
Remove BuildConfiguration.Fragment#getReservedActionMnemonics() in favor of encoding the same in ConfiguredRuleClassProvider.
This is a step towards dumbing down BuildConfiguration.Fragment and the ConfigurationFactoryLoader, which is in needed so that we can rewrite C++/Java/Python rules in Skylark without having to introduce the concept of "configuration loader" in Skylark, too. RELNOTES: None. PiperOrigin-RevId: 192104912
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java3
1 files changed, 2 insertions, 1 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 69b912dde6..fa342ec987 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
@@ -646,10 +646,11 @@ public class BuildEventStreamerTest extends FoundationTestCase {
new ServerDirectories(outputBase, outputBase, outputBase),
rootDirectory,
"productName"),
- ImmutableMap
+ /* fragmentsMap= */ ImmutableMap
.<Class<? extends BuildConfiguration.Fragment>, BuildConfiguration.Fragment>of(),
defaultBuildOptions,
BuildOptions.diffForReconstruction(defaultBuildOptions, defaultBuildOptions),
+ /* reservedActionMnemonics= */ ImmutableSet.of(),
"workspace");
BuildEvent firstWithConfiguration =
new GenericConfigurationEvent(testId("first"), configuration.toBuildEvent());