gerrit/gerrit-reviewdb
Dave Borowitz 04d7932eb3 Add tests for LabelNormalizer
These use the full InMemoryModule stack because depending on users,
groups, label types, and permissions is heavyweight.

The careful reader will notice based on the tested behavior that there
are still some outstanding bugs in label normalization during submit
time. For example, since Submit only upserts the normalized list of
approvals, any labels omitted by the normalizer due to an empty
permission range are left entirely untouched. Such bugs are not fixed
by this change, which is only to add tests.

Change-Id: I955ee8c63b17812684f8350113cb0f2f1bf72fe6
2014-01-31 15:50:01 -08:00
..
src/main Add tests for LabelNormalizer 2014-01-31 15:50:01 -08:00
BUCK Save GWT compile time by avoiding javac 2013-11-30 11:06:50 -08:00