Move all options errors to a string in the object.

Rather than print errors to stdout found by the Options
object, save them in a string. This makes it easier to test and
eliminates the need for capturing stdout.

Bug: 377792106

Test: All unit tests pass.
Change-Id: I81719db4a6b24cc472cb4aafeb94e2c9fb11e92b
4 files changed
tree: d60e1cc3a4e0dd274bda811730cf47e0a49f990f
  1. gtest_isolated/
  2. gtestifier/
  3. PREUPLOAD.cfg
  4. TEST_MAPPING