public class PathCheckoutCommandTest extends RepositoryTestCase
CheckoutCommanddb, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
PathCheckoutCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testCheckoutFirst() |
void |
testCheckoutMixedNewlines() |
void |
testCheckoutMultiple() |
void |
testCheckoutOfConflictingFileShouldThrow() |
void |
testCheckoutOurs() |
void |
testCheckoutOursWhenNoBase() |
void |
testCheckoutRepository() |
void |
testCheckoutSecond() |
void |
testCheckoutTheirs() |
void |
testStageNotPossibleWithBranch() |
void |
testUpdateBrokenSymLink() |
void |
testUpdateBrokenSymLinkToDirectory() |
void |
testUpdateSymLink() |
void |
testUpdateWorkingDirectory() |
void |
testUpdateWorkingDirectoryFromHeadWithIndexChange() |
void |
testUpdateWorkingDirectoryFromIndex() |
void |
testUpdateWorkingDirectoryFromIndex2() |
static void |
validateIndex(Git git) |
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 testUpdateBrokenSymLinkToDirectory()
throws Exception
Exceptionpublic void testUpdateWorkingDirectory()
throws Exception
Exceptionpublic void testUpdateWorkingDirectoryFromIndex()
throws Exception
Exceptionpublic void testUpdateWorkingDirectoryFromHeadWithIndexChange()
throws Exception
Exceptionpublic void testUpdateWorkingDirectoryFromIndex2()
throws Exception
Exceptionpublic static void validateIndex(Git git) throws NoWorkTreeException, IOException
NoWorkTreeExceptionIOExceptionpublic void testCheckoutMixedNewlines()
throws Exception
Exceptionpublic void testCheckoutOfConflictingFileShouldThrow()
throws Exception
Exceptionpublic void testCheckoutOursWhenNoBase()
throws Exception
ExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.