public class PathCheckoutCommandTest extends RepositoryTestCase
CheckoutCommand
db, trash
ASSUME_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, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void setUp() throws Exception
setUp
in class RepositoryTestCase
Exception
public void testUpdateBrokenSymLinkToDirectory() throws Exception
Exception
public void testUpdateWorkingDirectory() throws Exception
Exception
public void testUpdateWorkingDirectoryFromIndex() throws Exception
Exception
public void testUpdateWorkingDirectoryFromHeadWithIndexChange() throws Exception
Exception
public void testUpdateWorkingDirectoryFromIndex2() throws Exception
Exception
public static void validateIndex(Git git) throws NoWorkTreeException, IOException
NoWorkTreeException
IOException
public void testCheckoutMixedNewlines() throws Exception
Exception
public void testCheckoutOfConflictingFileShouldThrow() throws Exception
Exception
public void testCheckoutOursWhenNoBase() throws Exception
Exception
Copyright © 2016 Eclipse JGit Project. All rights reserved.