Merge branch 'stable-2.15'
* stable-2.15: ChangeIT: Move reflog test to ReflogIT ReflogIT: Move to com.google.gerrit.acceptance.server.project ReflogIT: Remove unneeded setUp method ChangeIT: Fix and expand reflog test ProjectState: Remove unnecessary 'final' modifiers from constructor ConfigInfo: Annotate MaxObjectSizeLimitInfo fields as nullable ConfigInfo: Add Javadoc for MaxObjectSizeLimitInfo fields Upgrade JGit to v4.5.4.201711221230-r Fix deprecation warnings from latest JGit update Upgrade JGit to 4.3.0.201604071810-r Set version to 2.12.9-SNAPSHOT Buck: Fix typo in gerrit_plugin.bucklet Remove min width from autocomplete container ConfigInfoImpl: Factor out initialization of MaxObjectSizeLimitInfo to a method Rename instances of TransferConfig to transferConfig Clarify inherited_value in documentation of MaxObjectSizeLimitInfo Reword docmentation of project specific object size limit for clarity PutConfig: Reload project config before returning response Fix partially hidden plugin configuration in the UI Upgrade PostgreSQL JDBC driver SiteProgram: Extract local variable SiteProgram: Extract constant SiteProgram: Inline variable to avoid hiding field DataSourceProvider: Rename local variable to avoid hiding field DataSourceProvider: Remove unneeded finals DataSourceProvider: Replace inner class with lambda DataSourceProvider: Extract constant Add current patchset to json when a review is public/ready Migrate `tools/bazel.rc` to `.bazelrc` ProjectIT: Add tests for maxObjectSize configuration EventRecorder: Add assertNoRefUpdatedEvents helper method ProjectIT: Rename 'config' method to 'submitType' Change-Id: I83eee5496f538daff37c936dcb1cc19f13b27705
This commit is contained in:
@@ -137,6 +137,10 @@ public class EventRecorder {
|
||||
return events;
|
||||
}
|
||||
|
||||
public void assertNoRefUpdatedEvents(String project, String branch) throws Exception {
|
||||
getRefUpdatedEvents(project, branch, 0);
|
||||
}
|
||||
|
||||
public void assertRefUpdatedEvents(String project, String branch, String... expected)
|
||||
throws Exception {
|
||||
ImmutableList<RefUpdatedEvent> events =
|
||||
|
||||
Reference in New Issue
Block a user