diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-01-08 15:20:24 +0100 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-01-15 08:13:40 +0100 |
| commit | 87a76504844905eaec9d3d7b705f5c3b2fa612ae (patch) | |
| tree | 15ff7f4711f3d76ec6c0d66fcf6c6d195f5aaf88 /android/test/common/src | |
| parent | c4157b3d961f71f64eb218c32b5c49ffb33baff1 (diff) | |
| download | mullvadvpn-87a76504844905eaec9d3d7b705f5c3b2fa612ae.tar.xz mullvadvpn-87a76504844905eaec9d3d7b705f5c3b2fa612ae.zip | |
Use type safe Mullvad protobuf client over generated dito
Re-write some code in the test framework to prefer the type safe wrapper
around the Mullvad app gRPC client instead of its auto-generated dito.
`ManagementServiceClient` is automatically generated from the protobuf
definitions found in `management_interface.proto`, and contains some
very crude types. The `MullvadProxyClient` is a type-safe wrapper around
`ManagementServiceClient` which performs conversions & validation of the
data types from the gRPC server (the daemon) to their respective
mappings in the `talpid-*` and `mullvad-*` crates. These types are more
ergonomic to work with, and since we already have the conversions in
place we should prefer those.
Diffstat (limited to 'android/test/common/src')
0 files changed, 0 insertions, 0 deletions
