public class AddCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
Modifier and Type | Field and Description |
---|---|
static boolean[] |
sleepBeforeAddOptions |
Constructor and Description |
---|
AddCommandTest() |
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 org.eclipse.jgit.junit.RepositoryTestCase
Exception
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 testBuiltinFilters(boolean sleepBeforeAdd) throws IOException, org.eclipse.jgit.api.errors.GitAPIException, InterruptedException
IOException
org.eclipse.jgit.api.errors.GitAPIException
InterruptedException
public void testBuiltinCleanFilter(boolean sleepBeforeAdd) throws IOException, org.eclipse.jgit.api.errors.GitAPIException, InterruptedException
IOException
org.eclipse.jgit.api.errors.GitAPIException
InterruptedException
public void testAttributesWithTreeWalkFilter() throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testAttributesConflictingMatch() throws Exception
Exception
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 © 2018 Eclipse JGit Project. All rights reserved.