]> source.dussan.org Git - jgit.git/commit
UploadPackTest: Move "reachability" tests to its own file 21/141921/3
authorIvan Frade <ifrade@google.com>
Thu, 9 May 2019 23:15:24 +0000 (16:15 -0700)
committerIvan Frade <ifrade@google.com>
Wed, 18 Sep 2019 20:54:50 +0000 (13:54 -0700)
commit7c471afe1c23ee7655ad54d7b1df270a5b259c92
tree74d2329e76fee4aae4efefbb82440cc38259acc6
parent7be05205ddfacc8a6d7445604629a4a4f6a3f90b
UploadPackTest: Move "reachability" tests to its own file

UploadPackTest is already too long and it is covering too many aspects
of UploadPack. This makes difficult to see what is tests and if all
cases are covered.

Move the reachability-related tests to its own file. This moves also an
auxiliary function, reducing the length of UploadPack. Complete also the
coverage, adding combinations of bitmap availability/commits or
blobs/reachable or not.

Change-Id: Id5cfc9d0118d997da30e3886c91db996a86250fc
Signed-off-by: Ivan Frade <ifrade@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackReachabilityTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java