public class AddCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
| Constructor and Description |
|---|
AddCommandTest() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, setUp, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void testAddNothing()
throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddNonExistingSingleFile()
throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddExistingSingleFile()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanFilter()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanFilterEnvironment()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testMultipleCleanFilter()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCommandInjection()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testBadCleanFilter()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testBadCleanFilter2()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testCleanFilterReturning12()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testNotApplicableFilter()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddExistingSingleSmallFileWithNewLine()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddExistingSingleMediumSizeFileWithNewLine()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddExistingSingleBinaryFile()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddExistingSingleFileInSubDir()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddExistingSingleFileTwice()
throws IOException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddExistingSingleFileTwiceWithCommit()
throws Exception
Exceptionpublic void testAddRemovedCommittedFile()
throws Exception
Exceptionpublic void testAddWithoutParameterUpdate()
throws Exception
Exceptionpublic void testAddWithParameterUpdate()
throws Exception
Exceptionpublic void testReplaceFileWithDirectory()
throws IOException,
org.eclipse.jgit.api.errors.NoFilepatternException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.NoFilepatternExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testReplaceDirectoryWithFile()
throws IOException,
org.eclipse.jgit.api.errors.NoFilepatternException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.NoFilepatternExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testReplaceFileByPartOfDirectory()
throws IOException,
org.eclipse.jgit.api.errors.NoFilepatternException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.NoFilepatternExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testReplaceDirectoryConflictsWithFile()
throws IOException,
org.eclipse.jgit.api.errors.NoFilepatternException,
org.eclipse.jgit.api.errors.GitAPIException
IOExceptionorg.eclipse.jgit.api.errors.NoFilepatternExceptionorg.eclipse.jgit.api.errors.GitAPIExceptionpublic void testAddSubrepoWithDirNoGitlinks()
throws Exception
ExceptionCopyright © 2016 Eclipse JGit Project. All rights reserved.