Class TestSubmitInput

java.lang.Object
com.google.gerrit.extensions.api.changes.SubmitInput
com.google.gerrit.server.change.TestSubmitInput

public class TestSubmitInput extends SubmitInput
Subclass of SubmitInput with special bits that may be flipped for testing purposes only.
  • Field Details

    • failAfterRefUpdates

      public boolean failAfterRefUpdates
    • generateLockFailures

      public 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.
  • Constructor Details

    • TestSubmitInput

      public TestSubmitInput()