[paragraph] Clean up tests

Have EndWithLineSeparator and EmojiFontResolution tests use the
ResourceFontCollection instead of the TestFontMgr for consistency.

Convert a few REPORTER_ASSERT to report the actual values used in the

Simplify ResourceFontCollection construction by creating the typefaces
while iterating over the file paths, instead of storing the file paths
and iterating over them again.

Change-Id: Ia63e3352f66e467d482688c50a0978b3e8c5b3b5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/834702
Reviewed-by: Julia Lavrova <jlavrova@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Ben Wagner <bungeman@google.com>
1 file changed