Package com.google.gerrit.server.change
Class TestSubmitInput
- java.lang.Object
-
- com.google.gerrit.extensions.api.changes.SubmitInput
-
- com.google.gerrit.server.change.TestSubmitInput
-
public class TestSubmitInput extends SubmitInput
Subclass ofSubmitInput
with special bits that may be flipped for testing purposes only.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
failAfterRefUpdates
Queue<Boolean>
generateLockFailures
For each change being submitted, an element is removed from this queue and, if the value is true, a bogus ref update is added to the batch, in order to generate a lock failure during execution.-
Fields inherited from class com.google.gerrit.extensions.api.changes.SubmitInput
notify, notifyDetails, onBehalfOf, waitForMerge
-
-
Constructor Summary
Constructors Constructor Description TestSubmitInput()
-