use of com.google.devtools.build.lib.remote.logging.RemoteExecutionLog.ExecuteDetails in project tools_remote by bazelbuild.
the class ActionGroupingTest method makeExecuteWithStatus.
private RpcCallDetails makeExecuteWithStatus(int status) {
ExecuteResponse.Builder response = ExecuteResponse.newBuilder();
response.getStatusBuilder().setCode(status);
Operation operation = Operation.newBuilder().setResponse(Any.pack(response.build())).setDone(true).build();
ExecuteDetails execute = ExecuteDetails.newBuilder().addResponses(operation).build();
return RpcCallDetails.newBuilder().setExecute(execute).build();
}
use of com.google.devtools.build.lib.remote.logging.RemoteExecutionLog.ExecuteDetails in project tools_remote by bazelbuild.
the class ActionGroupingTest method makeExecute.
private RpcCallDetails makeExecute(ActionResult result) {
ExecuteResponse response = ExecuteResponse.newBuilder().setResult(result).build();
Operation operation = Operation.newBuilder().setResponse(Any.pack(response)).setDone(true).build();
ExecuteDetails execute = ExecuteDetails.newBuilder().addResponses(operation).build();
return RpcCallDetails.newBuilder().setExecute(execute).build();
}
Aggregations