public class IndexDiffTest
extends org.eclipse.jgit.junit.RepositoryTestCase
| Constructor and Description |
|---|
IndexDiffTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAdded() |
void |
testAssumeUnchanged() |
void |
testAutoCRLFInput() |
void |
testConflicting() |
void |
testConflictingDeletedAndModified() |
void |
testConflictingFromMultipleCreations() |
void |
testModified() |
void |
testRemoved() |
void |
testRemovedUntracked()
A file is removed from the index but stays in the working directory.
|
void |
testStageState_mergeAndReset_bug() |
void |
testStageState_simulated_bug() |
void |
testStageState() |
void |
testUnchangedComplex()
This test has both files and directories that involve the tricky ordering
used by Git.
|
void |
testUnchangedSimple() |
void |
testUntrackedFolders() |
void |
testUntrackedNotIgnoredFolders()
Test that ignored folders aren't listed as untracked
|
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, indexState, lookup, read, resetIndex, setUp, writeTrashFile, writeTrashFile, writeTrashFilespublic void testAdded()
throws IOException
IOExceptionpublic void testRemoved()
throws IOException
IOExceptionpublic void testModified()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testConflictingDeletedAndModified()
throws Exception
Exceptionpublic void testConflictingFromMultipleCreations()
throws Exception
Exceptionpublic void testUnchangedSimple()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testUnchangedComplex()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testRemovedUntracked()
throws Exception
Exceptionpublic void testUntrackedNotIgnoredFolders()
throws Exception
Exceptionpublic void testStageState()
throws IOException
IOExceptionpublic void testStageState_mergeAndReset_bug()
throws Exception
Exceptionpublic void testStageState_simulated_bug()
throws Exception
ExceptionCopyright © 2015. All rights reserved.