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, 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 org.eclipse.jgit.junit.RepositoryTestCase
Exception
public void testCreateBranchOnCheckout() throws Exception
Exception
public void testCheckoutToNonExistingBranch() throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.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 org.eclipse.jgit.api.errors.JGitInternalException, IOException, org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.JGitInternalException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testCreateOrphanBranchWithStartCommit() throws Exception
Exception
public void testCreateOrphanBranchWithStartPoint() throws Exception
Exception
public void testSmudgeFilter_modifyExisting() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testSmudgeFilter_createNew() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testSmudgeFilter_deleteFileAndRestoreFromCommit() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testSmudgeFilter_deleteFileAndRestoreFromIndex() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testSmudgeFilter_deleteFileAndCreateBranchAndRestoreFromCommit() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testNonDeletableFilesOnWindows() throws org.eclipse.jgit.api.errors.GitAPIException, IOException
org.eclipse.jgit.api.errors.GitAPIException
IOException
Copyright © 2018 Eclipse JGit Project. All rights reserved.