| commit | baffb259a42251176eb2a54dd49fd76f1805a2dc | [log] [tgz] |
|---|---|---|
| author | Xo Wang <xow@fuchsia.infra.roller.google.com> | Tue Jan 25 04:20:42 2022 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Mon Jan 24 20:22:09 2022 -0800 |
| tree | 70faf434d3c8db8ab8aab1fc1ef944b46088c5a2 | |
| parent | 470877fc24730ee54ff3ce90a8e5df22e0786a31 [diff] |
[roll] Roll fuchsia [bt] Add fitx::result<Error<…>, …> printer for GoogleTest Add an operator<< overload in namespace fitx that converts results containing bt::Error into strings in the case that unit test checks against such result objects fail. They are currently printed as an 8-byte hex string. Refactor existing ToString implementation to isolate the string builder logic and genericize it to be compatible for both std::basic_string::append and basic_ostream::operator<<. Add logic to convert the success value contained in a result to ToString, when possible. Change the string format to be clearer about the result's state, with "ok(…)" and "error(…)" strings. Original-Bug: 86900, 91367 Test: in bt-host-common-tests, ErrorTest.ToStringOnResult Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/634405 Original-Revision: 5ad59589b09a1d67201fd5723e55d1daf24da000 GitOrigin-RevId: e4d0675c6354c77af7b50ad932c06936157d5346 Change-Id: I7b496233c8e432a86f2e0ba6a030f305f3e1a290
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.