diff options
author | 2017-09-01 09:09:53 +0200 | |
---|---|---|
committer | 2017-09-01 12:28:55 +0200 | |
commit | c6fa317f0f926c9b0a5d240161585ebc7c118a2d (patch) | |
tree | 2cbeebfd113f0d30a85f65f686e61ae62a767033 /src/main/java/com/google/devtools | |
parent | 7972a3db819897a3b89896d453b1e99756bd3ffc (diff) |
BEP: Rename enum entry
...to not mention a wrong product name.
PiperOrigin-RevId: 167242739
Diffstat (limited to 'src/main/java/com/google/devtools')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto | 2 | ||||
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamerUtils.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto index 94e938a84c..a9c61f105c 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto +++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto @@ -432,7 +432,7 @@ enum TestStatus { INCOMPLETE = 5; REMOTE_FAILURE = 6; FAILED_TO_BUILD = 7; - BLAZE_HALTED_BEFORE_TESTING = 8; + TOOL_HALTED_BEFORE_TESTING = 8; }; // Payload on events reporting about individual test action. diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamerUtils.java b/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamerUtils.java index cb7fa17a98..fc0f161e5a 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamerUtils.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/BuildEventStreamerUtils.java @@ -44,7 +44,7 @@ public final class BuildEventStreamerUtils { case REMOTE_FAILURE: return BuildEventStreamProtos.TestStatus.REMOTE_FAILURE; case BLAZE_HALTED_BEFORE_TESTING: - return BuildEventStreamProtos.TestStatus.BLAZE_HALTED_BEFORE_TESTING; + return BuildEventStreamProtos.TestStatus.TOOL_HALTED_BEFORE_TESTING; default: // Not used as the above is a complete case distinction; however, by the open // nature of protobuf enums, we need the clause to convice java, that we always |