public class CleanCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
| Constructor and Description |
|---|
CleanCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testClean() |
void |
testCleanDirs() |
void |
testCleanDirsWithDryRun() |
void |
testCleanDirsWithDryRunAndNoIgnore() |
void |
testCleanDirsWithRepository() |
void |
testCleanDirsWithSubmodule() |
void |
testCleanWithDryRun() |
void |
testCleanWithDryRunAndNoIgnore() |
void |
testCleanWithPaths() |
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 testClean()
throws org.eclipse.jgit.errors.NoWorkTreeException,
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.NoWorkTreeExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanDirs()
throws org.eclipse.jgit.errors.NoWorkTreeException,
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.NoWorkTreeExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanWithPaths()
throws org.eclipse.jgit.errors.NoWorkTreeException,
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.NoWorkTreeExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanWithDryRun()
throws org.eclipse.jgit.errors.NoWorkTreeException,
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.NoWorkTreeExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanDirsWithDryRun()
throws org.eclipse.jgit.errors.NoWorkTreeException,
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.NoWorkTreeExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanWithDryRunAndNoIgnore()
throws org.eclipse.jgit.errors.NoWorkTreeException,
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.NoWorkTreeExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanDirsWithDryRunAndNoIgnore()
throws org.eclipse.jgit.errors.NoWorkTreeException,
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.NoWorkTreeExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanDirsWithSubmodule()
throws Exception
ExceptionCopyright © 2017 Eclipse JGit Project. All rights reserved.