public class IndexDiffTest extends RepositoryTestCase
db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, 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, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void testAdded() throws IOException
IOException
public void testRemoved() throws IOException
IOException
public void testModified() throws IOException, GitAPIException
IOException
GitAPIException
public void testConflictingDeletedAndModified() throws Exception
Exception
public void testConflictingFromMultipleCreations() throws Exception
Exception
public void testUnchangedSimple() throws IOException, GitAPIException
IOException
GitAPIException
public void testUnchangedComplex() throws IOException, GitAPIException
IOException
GitAPIException
public void testRemovedUntracked() throws Exception
Exception
public void testUntrackedNotIgnoredFolders() throws Exception
Exception
public void testStageState() throws IOException
IOException
public void testStageState_mergeAndReset_bug() throws Exception
Exception
public void testStageState_simulated_bug() throws Exception
Exception
Copyright © 2015 Eclipse JGit Project. All rights reserved.