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

Commit 1bf24426 authored by Steven Moreland's avatar Steven Moreland
Browse files

resolv_integration_test: handle toString changes

Bug: 259162245
Test: N/A
Change-Id: Id2071f40632103afd0625b78fb991ff544fb49e1
parent 4c80818e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -140,11 +140,12 @@ class DnsResolverBinderTest : public NetNativeTestBase {

                        // The binder_to_string format is changed over time to include more
                        // information. To keep it working on Q/R/..., remove what has been
                        // added for now.
                        // added for now. TODO(b/266248339)
                        std::string output = match[1].str();
                        using android::base::StringReplace;
                        output = StringReplace(output, "(null)", "", /*all=*/true);
                        output = StringReplace(output, "<unimplemented>", "", /*all=*/true);
                        output = StringReplace(output, "<interface>", "", /*all=*/true);
                        return output == td.output;
                    });
            EXPECT_TRUE(found) << "Didn't find line '" << td.output << "' in dumpsys output.";