summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src/mullvad_daemon.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-10Run `cargo fmt` in test-repoSebastian Holmin1-1/+1
2025-07-09Use `io:Error::other`Sebastian Holmin1-1/+1
2025-01-22Remove mullvad client version from macroSebastian Holmin1-17/+1
Replace `MullvadClientArgument` with `Option` Small refactor
2024-09-25Upgrade `tonic` to 0.12 and `prost` to 0.13Sebastian Holmin1-6/+7
Upgrading `tonic` is a prerequisite to later on upgrading `hyper` to version 1.0. As of version 1.0, `hyper` no longer uses `tokio`s `AsyncWriter` and `AsyncReader` traits, instead defining its own versions, see <https://github.com/hyperium/hyper/issues/3110>. As tonic `0.12` is updated to use the `hyper 1.0` ecosystem, it changed some of its trait-bounds to the new `hyper` traits. The `hyper-utils` crate provides the wrapper `TokioIo`, which converts between the two. `prost` had to be upgraded as well, for compatibility.
2024-08-09Make logs less spammySebastian Holmin1-1/+1
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-04-12Get rid of type casting for test function argumentMarkus Pettersson1-6/+9
Replace the `Box<dyn Any>` type for the third test function argument 'mullvad client' - replace it with a dedicated enum type `MullvadClientArgument`. This change got rid of the type casting from `Box<dyn Any>` to `MullvadProxyClient` done in the `test_function` macro.
2024-01-15Use type safe Mullvad protobuf client over generated ditoMarkus Pettersson1-3/+4
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.
2023-12-15[Clippy] Fix unused `async`Markus Pettersson1-1/+1
2023-10-20Add desktop end-to-end testsDavid Lönnhager1-0/+180
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>