summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2019-02-12 13:50:25 -0800
committerMichael Butler <butlermichael@google.com>2019-02-15 13:34:50 -0800
commit857142085f984d3d218152d7da4d57c2201d94e9 (patch)
tree633b62dd840699d002dee6e8b0be86a51d54ac36 /identity/support/src/cppbor_parse.cpp
parent3a4601ba483899cebd53a6a42f81378f1f70fbda (diff)
Pretty-print ErrorStatus and DeviceStatus test failure logs
Argument-dependent lookup will only work for operator>> if the operator is in one of the argument's namespaces. This caused the enumerations to pretty-print for V1_0, but not for V1_1 or V1_2. This change ensures the V1_0 namespace is used. Test: mma Test: atest VtsHalNeuralnetworksV1_0TargetTest (verified the test output "OFFLINE" for DeviceStatus and "DEVICE_UNAVAILABLE" for ErrorStatus instead of raw byte value representation) Test: atest VtsHalNeuralnetworksV1_1TargetTest (verified the test output "OFFLINE" for DeviceStatus and "DEVICE_UNAVAILABLE" for ErrorStatus instead of raw byte value representation) Test: atest VtsHalNeuralnetworksV1_2TargetTest (verified ran and passed tests) Fixes: 124316129 Change-Id: I764a46e2d87615b1f3da0ab0e6edb134bb533887 (cherry picked from commit 42a35bee10225e6257d145f0cb88e2a612a35721)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions