public class CheckoutCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
| 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 org.eclipse.jgit.junit.RepositoryTestCaseExceptionpublic void testCreateBranchOnCheckout()
throws Exception
Exceptionpublic void testCheckoutToNonExistingBranch()
throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.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 org.eclipse.jgit.api.errors.JGitInternalException,
IOException,
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.JGitInternalExceptionIOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCreateOrphanBranchWithStartCommit()
throws Exception
Exceptionpublic void testCreateOrphanBranchWithStartPoint()
throws Exception
Exceptionpublic void testSmudgeFilter_modifyExisting()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testSmudgeFilter_createNew()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testSmudgeFilter_deleteFileAndRestoreFromCommit()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testSmudgeFilter_deleteFileAndRestoreFromIndex()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testSmudgeFilter_deleteFileAndCreateBranchAndRestoreFromCommit()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testNonDeletableFilesOnWindows()
throws org.eclipse.jgit.api.errors.GitAPIException,
IOException
org.eclipse.jgit.api.errors.GitAPIExceptionIOExceptionCopyright © 2017 Eclipse JGit Project. All rights reserved.