public class CleanCommandTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| 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() |
void |
testFilesShouldBeCleanedInSubSubFolders() |
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 RepositoryTestCaseExceptionpublic void testClean()
throws NoWorkTreeException,
GitAPIException
NoWorkTreeExceptionGitAPIExceptionpublic void testCleanDirs()
throws NoWorkTreeException,
GitAPIException
NoWorkTreeExceptionGitAPIExceptionpublic void testCleanWithPaths()
throws NoWorkTreeException,
GitAPIException
NoWorkTreeExceptionGitAPIExceptionpublic void testCleanWithDryRun()
throws NoWorkTreeException,
GitAPIException
NoWorkTreeExceptionGitAPIExceptionpublic void testCleanDirsWithDryRun()
throws NoWorkTreeException,
GitAPIException
NoWorkTreeExceptionGitAPIExceptionpublic void testCleanWithDryRunAndNoIgnore()
throws NoWorkTreeException,
GitAPIException
NoWorkTreeExceptionGitAPIExceptionpublic void testCleanDirsWithDryRunAndNoIgnore()
throws NoWorkTreeException,
GitAPIException
NoWorkTreeExceptionGitAPIExceptionpublic void testCleanDirsWithSubmodule()
throws Exception
Exceptionpublic void testCleanDirsWithRepository()
throws Exception
Exceptionpublic void testFilesShouldBeCleanedInSubSubFolders()
throws IOException,
NoFilepatternException,
GitAPIException
Copyright © 2018 Eclipse JGit Project. All rights reserved.