diff options
author | Dave Borowitz <dborowitz@google.com> | 2017-07-17 11:49:36 -0400 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2017-07-25 13:14:50 -0400 |
commit | 82f68500c0dfedd98e0769888a46eff7899c5ab7 (patch) | |
tree | 22d1a47d197ff86d704ac396c20c3d820cb77025 /org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java | |
parent | 65b64768b347d0074513d9a8c770e34d258528ad (diff) | |
download | jgit-82f68500c0dfedd98e0769888a46eff7899c5ab7.tar.gz jgit-82f68500c0dfedd98e0769888a46eff7899c5ab7.zip |
Improve BatchRefUpdateTest readability
* Factor out helpers for setting up and executing updates.
* Use common assert methods, with a special enum type that papers over
the fact that there is no ReceiveCommand.Result for transaction
aborted.
* Static import ReceiveCommand.Type constants.
* Add blank lines to separate repo setup, update execution, and asserts.
Change-Id: Ic3717f94331abfc7ae3e92065f3fe32026bf7cea
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/PackParser.java')
0 files changed, 0 insertions, 0 deletions