summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit.http/src
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2016-02-15 17:41:05 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2016-02-15 18:04:07 +0900
commit8deff4b969653379c9a51d952d8c2cadae394934 (patch)
tree899f83b15d8c14e73f96bb6c111b9d84273f1ee2 /org.eclipse.jgit.junit.http/src
parentf595089be04f8357495c25c7ee336198caa7dcd7 (diff)
downloadjgit-8deff4b969653379c9a51d952d8c2cadae394934.tar.gz
jgit-8deff4b969653379c9a51d952d8c2cadae394934.zip
HugeFileTest: Make Git a class member and open in try-with-resource
There's only one test method in this module and it's quite long, so rather than using a try-with-resource and having to indent a huge block of existing code, make the Git a member variable that gets initialised and closed in @Before and @After annotated methods. The methods are named 'before' and 'after' rather than the conventional 'setUp' and 'tearDown' so as not to conflict with the names of the existing methods in LocalDiskRepositoryTestCase. Change-Id: I5a4a9b59f244c450dbcae9fdde7d9e0f0cd24e6f Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
Diffstat (limited to 'org.eclipse.jgit.junit.http/src')
0 files changed, 0 insertions, 0 deletions