public class CheckoutCommandTest extends RepositoryTestCase
db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
Constructor and Description |
---|
CheckoutCommandTest() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createRepository, 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 testCreateBranchOnCheckout() throws Exception
Exception
public void testCheckoutToNonExistingBranch() throws GitAPIException
GitAPIException
public void testCheckoutWithConflict()
public void testCheckoutWithNonDeletedFiles() throws Exception
Exception
public void testCheckoutLightweightTag() throws Exception
Exception
public void testCheckoutRemoteTrackingWithUpstream() throws Exception
Exception
public void testCheckoutRemoteTrackingWithoutLocalBranch() throws Exception
Exception
public void testCheckoutOfFileWithInexistentParentDir() throws Exception
Exception
public void testCheckoutOfDirectoryShouldBeRecursive() throws Exception
Exception
public void testCheckoutWithStartPoint() throws Exception
Exception
public void testCheckoutWithStartPointOnlyCertainFiles() throws Exception
Exception
public void testDetachedHeadOnCheckout() throws JGitInternalException, IOException, GitAPIException
public void testCreateOrphanBranchWithStartCommit() throws Exception
Exception
public void testCreateOrphanBranchWithStartPoint() throws Exception
Exception
public void testSmudgeFilter_modifyExisting() throws IOException, GitAPIException
IOException
GitAPIException
public void testSmudgeFilter_createNew() throws IOException, GitAPIException
IOException
GitAPIException
public void testSmudgeFilter_deleteFileAndRestoreFromCommit() throws IOException, GitAPIException
IOException
GitAPIException
public void testSmudgeFilter_deleteFileAndRestoreFromIndex() throws IOException, GitAPIException
IOException
GitAPIException
public void testSmudgeFilter_deleteFileAndCreateBranchAndRestoreFromCommit() throws IOException, GitAPIException
IOException
GitAPIException
public void testNonDeletableFilesOnWindows() throws GitAPIException, IOException
GitAPIException
IOException
Copyright © 2017 Eclipse JGit Project. All rights reserved.