aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/runtime
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2017-01-18 17:32:07 +0000
committerGravatar Vladimir Moskva <vladmos@google.com>2017-01-18 18:34:10 +0000
commitdadde6f1bf93efa3e73dbbbf557ec37a57a0eefe (patch)
tree59c15f960773724c95962c96dbcd487d107f7bb9 /src/test/java/com/google/devtools/build/lib/runtime
parent227a06872dd5e1a2ca32655ad699848b3651db36 (diff)
Support mapping of Paths to URIs
Bazel-created files (like log files of test runs) are internally reported as Paths. However, this is not always the most useful representation of the location of that artifact for a consumer of build events. Therefore, support a mapping of paths to more useful URIs. -- PiperOrigin-RevId: 144843525 MOS_MIGRATED_REVID=144843525
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.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 a5a79d082d..d03ec6b338 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
@@ -24,6 +24,7 @@ import com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos;
import com.google.devtools.build.lib.buildeventstream.BuildEventTransport;
import com.google.devtools.build.lib.buildeventstream.BuildEventWithOrderConstraint;
import com.google.devtools.build.lib.buildeventstream.GenericBuildEvent;
+import com.google.devtools.build.lib.buildeventstream.PathConverter;
import com.google.devtools.build.lib.buildeventstream.ProgressEvent;
import com.google.devtools.build.lib.buildtool.buildevent.BuildCompleteEvent;
import java.util.ArrayList;
@@ -84,7 +85,7 @@ public class BuildEventStreamerTest {
}
@Override
- public BuildEventStreamProtos.BuildEvent asStreamProto() {
+ public BuildEventStreamProtos.BuildEvent asStreamProto(PathConverter converter) {
return GenericBuildEvent.protoChaining(this).build();
}