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

Skip to content
Commit c090fb1e authored by Mike Yu's avatar Mike Yu
Browse files

Test: Replace manual code with generated toString method

Binder already automatically implements toString() for parcelables.
The generated toString() returns the same string as what the below
hand-made methods return, except that "\n" is not replaced with "\\n".

  std::string toString(const std::vector<ResolverHostsParcel>& parms)
  std::string toString(const std::optional<ResolverOptionsParcel>& parms)
  std::string toString(const std::optional<DohParamsParcel>& params)
  std::string toString(const ResolverParamsParcel& parms)

This CL replace these hand-made toString() with binder-generated
toString().

Bug: 310112409
Test: resolv_integration_test passed
Change-Id: I47a95b50346021a998f755fdbc3fbe4b4b2b6116
parent fd5ddfec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment