public class CleanCommandTest extends RepositoryTestCase
db, trash
ASSUME_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() |
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 RepositoryTestCase
Exception
public void testClean() throws NoWorkTreeException, GitAPIException
NoWorkTreeException
GitAPIException
public void testCleanDirs() throws NoWorkTreeException, GitAPIException
NoWorkTreeException
GitAPIException
public void testCleanWithPaths() throws NoWorkTreeException, GitAPIException
NoWorkTreeException
GitAPIException
public void testCleanWithDryRun() throws NoWorkTreeException, GitAPIException
NoWorkTreeException
GitAPIException
public void testCleanDirsWithDryRun() throws NoWorkTreeException, GitAPIException
NoWorkTreeException
GitAPIException
public void testCleanWithDryRunAndNoIgnore() throws NoWorkTreeException, GitAPIException
NoWorkTreeException
GitAPIException
public void testCleanDirsWithDryRunAndNoIgnore() throws NoWorkTreeException, GitAPIException
NoWorkTreeException
GitAPIException
public void testCleanDirsWithSubmodule() throws Exception
Exception
Copyright © 2017 Eclipse JGit Project. All rights reserved.