Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 138ddb63 authored by Atneya Nair's avatar Atneya Nair
Browse files

Add BinderResult and expected<> gtest matchers

Add BinderResult which is short-hand for a Result with error-type
binder::Status, which is preferred type for implementing binder
interfaces.

Add gmock matchers which unwrap expected types in either the expected or
error directions for ease of testing.

Test: atest NativePermissionControllerTest with subsequent CL
Flag: EXEMPT: adding code without use
Bug: 338089555
Change-Id: I00f4f71e7d10cadfe6a0b2a628b887df9931e447
parent 76c27222
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment