Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move FormEventLoggerBase tests into a separate file.
The tests are currently in autofill_metrics_unittest.cc. This CL moves them to a new form_event_logger_base_unittest.cc file. Since FormEventLoggerBase also emits UKM metrics, some of the UKM testing functionality defined in autofill_metrics_unittest.cc is needed in form_event_logger_base_unittest.cc. For this reason, new ukm_metrics_test_utils.(cc|h) files are created. They contain all the UKM testing helper functions that are currently part of autofill_metrics_unittest.cc. The code is moved 1:1 % renaming the test fixture. Bug: 1007974 Change-Id: I1110890405782919595d519331fe351b3efcb1fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4253948 Commit-Queue: Florian Leimgruber <fleimgruber@google.com> Reviewed-by: Dominic Battré <battre@chromium.org> Cr-Commit-Position: refs/heads/main@{#1106147}
- Loading branch information