public class IndexDiffTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| 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, lookup, read, resetIndex, setUp, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void testAdded()
throws IOException
IOExceptionpublic void testRemoved()
throws IOException
IOExceptionpublic void testModified()
throws IOException,
GitAPIException
IOExceptionGitAPIExceptionpublic void testConflictingDeletedAndModified()
throws Exception
Exceptionpublic void testConflictingFromMultipleCreations()
throws Exception
Exceptionpublic void testUnchangedSimple()
throws IOException,
GitAPIException
IOExceptionGitAPIExceptionpublic void testUnchangedComplex()
throws IOException,
GitAPIException
IOExceptionGitAPIExceptionpublic 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 © 2017 Eclipse JGit Project. All rights reserved.