public class ResetCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
Constructor and Description |
---|
ResetCommandTest() |
Modifier and Type | Method and Description |
---|---|
void |
setupRepository() |
void |
testHardReset() |
void |
testHardResetAfterSquashMerge() |
void |
testHardResetOnTag() |
void |
testHardResetOnUnbornBranch() |
void |
testMixedReset() |
void |
testMixedResetRetainsSizeAndModifiedTime() |
void |
testMixedResetWithUnmerged() |
void |
testPathsReset() |
void |
testPathsResetOnDirs() |
void |
testPathsResetOnUnbornBranch() |
void |
testPathsResetToNonexistingRef() |
void |
testPathsResetWithRef() |
void |
testPathsResetWithUnmerged() |
void |
testResetDefaultMode() |
void |
testResetToNonexistingHEAD() |
void |
testSoftReset() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, indexState, lookup, read, resetIndex, setUp, writeTrashFile, writeTrashFile, writeTrashFiles
public void setupRepository() throws IOException, org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.JGitInternalException
org.eclipse.jgit.api.errors.GitAPIException
public void testHardReset() throws org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.errors.AmbiguousObjectException, IOException, org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.JGitInternalException
org.eclipse.jgit.errors.AmbiguousObjectException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testResetToNonexistingHEAD() throws org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.errors.AmbiguousObjectException, IOException, org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.JGitInternalException
org.eclipse.jgit.errors.AmbiguousObjectException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testSoftReset() throws org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.errors.AmbiguousObjectException, IOException, org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.JGitInternalException
org.eclipse.jgit.errors.AmbiguousObjectException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testMixedReset() throws org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.errors.AmbiguousObjectException, IOException, org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.JGitInternalException
org.eclipse.jgit.errors.AmbiguousObjectException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testMixedResetRetainsSizeAndModifiedTime() throws Exception
Exception
public void testMixedResetWithUnmerged() throws Exception
Exception
public void testPathsResetWithUnmerged() throws Exception
Exception
public void testPathsResetOnUnbornBranch() throws Exception
Exception
public void testPathsResetToNonexistingRef() throws Exception
Exception
public void testHardResetAfterSquashMerge() throws Exception
Exception
Copyright © 2015 Eclipse JGit Project. All rights reserved.