renamed integration test to manual test (#8934)
* renamed integration test to manual test * added comments in manual test case
This commit is contained in:
parent
b2a07b9fdf
commit
8c69054bec
|
@ -10,10 +10,18 @@ import org.junit.Test;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
|
|
||||||
/**
|
public class JGitBugManualTest {
|
||||||
* Tests which show issues with JGit that we reported upstream.
|
|
||||||
|
/**
|
||||||
|
* This test case expects one git repository to be present in local file system.
|
||||||
|
* Currently this test uses the Baeldung repository i.e. the current checkout repository.
|
||||||
|
* It finds the repository by tracking back and scan file system to find .git folder in
|
||||||
|
* the file system.
|
||||||
|
*
|
||||||
|
* Before running the test case ensure that the .git folder is present.
|
||||||
|
*
|
||||||
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public class JGitBugIntegrationTest {
|
|
||||||
@Test
|
@Test
|
||||||
public void testRevWalkDisposeClosesReader() throws IOException {
|
public void testRevWalkDisposeClosesReader() throws IOException {
|
||||||
try (Repository repo = Helper.openJGitRepository()) {
|
try (Repository repo = Helper.openJGitRepository()) {
|
Loading…
Reference in New Issue