DescriptionMake test outputs more readable whenever PasswordForms are involved.
This CL improves ContainsEqualPasswordFormsUnordered (and the corresponding GMock matcher) so that it outputs both the unmatched expected *and* actual values, and outputs them only once, even if the matcher is evaluated multiple times.
Furthermore, PasswordForms themselves are now outputted as JSON, prettiefied, and omitting the default values. Finally, pointers to PasswordForms are now outputted reasonably as well, showing the contents, instead of showing the memory addresses.
Dependent Sync integration tests have been refactored.
BUG=437865
Committed: https://crrev.com/c0830f221223891292888c0cef11c2751bb40f99
Cr-Commit-Position: refs/heads/master@{#323224}
Patch Set 1 : #
Total comments: 8
Patch Set 2 : Address comments. #Patch Set 3 : Use lambda and erase-remove idiom. #Patch Set 4 : Fix typo. #
Total comments: 8
Patch Set 5 : Fixed more comments. #Patch Set 6 : Rebase + added new field that was added inbetween. #Messages
Total messages: 26 (8 generated)
|