]> source.dussan.org Git - jgit.git/commit
PackParserTest: Extract pack-writing helper code to its own class 97/201397/13
authorIvan Frade <ifrade@google.com>
Tue, 18 Apr 2023 22:28:33 +0000 (15:28 -0700)
committerIvan Frade <ifrade@google.com>
Fri, 14 Jul 2023 17:34:56 +0000 (10:34 -0700)
commitafb013b9837a385b658469f4595b65413e4d0dbf
tree4fe4e01905d86f49a1a855c8e714adfc183a33e3
parentcb99ff5bbb61a44e08de5c1d8ce01ffe2393344c
PackParserTest: Extract pack-writing helper code to its own class

PackParserTest has code to create a small pack in memory. We can use
it to test also the DfsPackParser.

Extract the helper functions to a new class (InMemoryPack).

Change-Id: I6dea4d6ea2cac2da8201702df92fd09a687e90a6
org.eclipse.jgit.test/BUILD
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/InMemoryPack.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PackParserTest.java