public class RenameDetectorTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
RenameDetectorTest() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void setUp()
throws Exception
setUp in class RepositoryTestCaseExceptionpublic void testExactRename_OneRename()
throws Exception
Exceptionpublic void testExactRename_DifferentObjects()
throws Exception
Exceptionpublic void testExactRename_OneRenameOneModify()
throws Exception
Exceptionpublic void testExactRename_ManyRenames()
throws Exception
Exceptionpublic void testExactRename_MultipleIdenticalDeletes()
throws Exception
Exceptionpublic void testExactRename_PathBreaksTie()
throws Exception
Exceptionpublic void testExactRename_OneDeleteManyAdds()
throws Exception
Exceptionpublic void testExactRename_UnstagedFile()
throws Exception
Exceptionpublic void testInexactRename_OnePair()
throws Exception
Exceptionpublic void testInexactRename_OneRenameTwoUnrelatedFiles()
throws Exception
Exceptionpublic void testInexactRename_LastByteDifferent()
throws Exception
Exceptionpublic void testInexactRename_NewlinesOnly()
throws Exception
Exceptionpublic void testInexactRename_SameContentMultipleTimes()
throws Exception
Exceptionpublic void testInexactRenames_OnePair2()
throws Exception
Exceptionpublic void testNoRenames_SingleByteFiles()
throws Exception
Exceptionpublic void testNoRenames_SymlinkAndFile()
throws Exception
Exceptionpublic void testNoRenames_GitlinkAndFile()
throws Exception
Exceptionpublic void testNoRenames_SymlinkAndFileSamePath()
throws Exception
Exceptionpublic void testNoRenames_UntrackedFile()
throws Exception
Exceptionpublic void testBreakModify_BreakNone()
throws Exception
Exceptionpublic void testBreakModify_BreakBelowScore()
throws Exception
Exceptionpublic void testBreakModify_DontBreakAboveScore()
throws Exception
Exceptionpublic void testBreakModify_RejoinIfUnpaired()
throws Exception
Exceptionpublic void testSetRenameScore_IllegalArgs()
throws Exception
ExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.