public class ResetCommandTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
ResetCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setupRepository() |
void |
testHardReset() |
void |
testHardResetAfterSquashMerge() |
void |
testHardResetOnTag() |
void |
testHardResetOnUnbornBranch() |
void |
testHardResetReflogDisabled() |
void |
testHardResetWithConflicts_DoDeleteFileFolderConflicts() |
void |
testHardResetWithConflicts_DoOverWriteUntrackedFile() |
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, lookup, read, resetIndex, setUp, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void setupRepository()
throws IOException,
JGitInternalException,
GitAPIException
public void testHardReset()
throws JGitInternalException,
AmbiguousObjectException,
IOException,
GitAPIException
public void testHardResetReflogDisabled()
throws Exception
Exceptionpublic void testHardResetWithConflicts_DoOverWriteUntrackedFile()
throws JGitInternalException,
AmbiguousObjectException,
IOException,
GitAPIException
public void testHardResetWithConflicts_DoDeleteFileFolderConflicts()
throws JGitInternalException,
AmbiguousObjectException,
IOException,
GitAPIException
public void testResetToNonexistingHEAD()
throws JGitInternalException,
AmbiguousObjectException,
IOException,
GitAPIException
public void testSoftReset()
throws JGitInternalException,
AmbiguousObjectException,
IOException,
GitAPIException
public void testMixedReset()
throws JGitInternalException,
AmbiguousObjectException,
IOException,
GitAPIException
public void testMixedResetRetainsSizeAndModifiedTime()
throws Exception
Exceptionpublic void testMixedResetWithUnmerged()
throws Exception
Exceptionpublic void testPathsResetWithUnmerged()
throws Exception
Exceptionpublic void testPathsResetOnUnbornBranch()
throws Exception
Exceptionpublic void testPathsResetToNonexistingRef()
throws Exception
Exceptionpublic void testHardResetAfterSquashMerge()
throws Exception
ExceptionCopyright © 2018 Eclipse JGit Project. All rights reserved.