gerrit/javatests
Dave Borowitz 3d332e19cc Compare full GroupBundles in GroupRebuilder tests
Now that we can read the audit log from NoteDb, we can compile a full
bundle from NoteDb and compare it directly to the original ReviewDb
bundle using simple equality comparison.

Convert GroupBundle to be constructed with a factory, so we can inject
AuditLogReader, which is package-private in the db class. This is
necessary so GroupRebuilderIT can read NoteDb bundles, and is preferable
to exposing the AuditLogReader unnecessary.

Add some toString methods to the ReviewDb types to make the failure
messages readable.

Change-Id: I10e17e091292b160afc46b44f89a523584a2e0e1
2017-11-17 11:59:35 -05:00
..