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, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void testAddNothing() throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddNonExistingSingleFile() throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddExistingSingleFile() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testCleanFilter() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testCleanFilterEnvironment() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testMultipleCleanFilter() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testCommandInjection() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testBadCleanFilter() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testBadCleanFilter2() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testCleanFilterReturning12() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testNotApplicableFilter() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddExistingSingleSmallFileWithNewLine() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddExistingSingleMediumSizeFileWithNewLine() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddExistingSingleBinaryFile() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddExistingSingleFileInSubDir() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddExistingSingleFileTwice() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddExistingSingleFileTwiceWithCommit() throws Exception
Exception
public void testAddRemovedCommittedFile() throws Exception
Exception
public void testAddWithoutParameterUpdate() throws Exception
Exception
public void testAddWithParameterUpdate() throws Exception
Exception
public void testReplaceFileWithDirectory() throws IOException, org.eclipse.jgit.api.errors.NoFilepatternException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.NoFilepatternException
org.eclipse.jgit.api.errors.GitAPIException
public void testReplaceDirectoryWithFile() throws IOException, org.eclipse.jgit.api.errors.NoFilepatternException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.NoFilepatternException
org.eclipse.jgit.api.errors.GitAPIException
public void testReplaceFileByPartOfDirectory() throws IOException, org.eclipse.jgit.api.errors.NoFilepatternException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.NoFilepatternException
org.eclipse.jgit.api.errors.GitAPIException
public void testReplaceDirectoryConflictsWithFile() throws IOException, org.eclipse.jgit.api.errors.NoFilepatternException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.NoFilepatternException
org.eclipse.jgit.api.errors.GitAPIException
public void testAddSubrepoWithDirNoGitlinks() throws Exception
Exception
Copyright © 2016 Eclipse JGit Project. All rights reserved.