public class CheckoutCommandTest extends RepositoryTestCase
db, trashASSUME_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, 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 testCreateBranchOnCheckout()
throws Exception
Exceptionpublic void testCheckoutToNonExistingBranch()
throws GitAPIException
GitAPIExceptionpublic void testCheckoutWithConflict()
public void testCheckoutWithNonDeletedFiles()
throws Exception
Exceptionpublic void testCheckoutLightweightTag()
throws Exception
Exceptionpublic void testCheckoutRemoteTrackingWithUpstream()
throws Exception
Exceptionpublic void testCheckoutRemoteTrackingWithoutLocalBranch()
throws Exception
Exceptionpublic void testCheckoutOfFileWithInexistentParentDir()
throws Exception
Exceptionpublic void testCheckoutOfDirectoryShouldBeRecursive()
throws Exception
Exceptionpublic void testCheckoutWithStartPoint()
throws Exception
Exceptionpublic void testCheckoutWithStartPointOnlyCertainFiles()
throws Exception
Exceptionpublic void testDetachedHeadOnCheckout()
throws JGitInternalException,
IOException,
GitAPIException
public void testCreateOrphanBranchWithStartCommit()
throws Exception
Exceptionpublic void testCreateOrphanBranchWithStartPoint()
throws Exception
Exceptionpublic void testSmudgeFilter_modifyExisting()
throws IOException,
GitAPIException
IOExceptionGitAPIExceptionpublic void testSmudgeFilter_createNew()
throws IOException,
GitAPIException
IOExceptionGitAPIExceptionpublic void testSmudgeFilter_deleteFileAndRestoreFromCommit()
throws IOException,
GitAPIException
IOExceptionGitAPIExceptionpublic void testSmudgeFilter_deleteFileAndRestoreFromIndex()
throws IOException,
GitAPIException
IOExceptionGitAPIExceptionpublic void testSmudgeFilter_deleteFileAndCreateBranchAndRestoreFromCommit()
throws IOException,
GitAPIException
IOExceptionGitAPIExceptionpublic void testNonDeletableFilesOnWindows()
throws GitAPIException,
IOException
GitAPIExceptionIOExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.