public class IndexDiffSubmoduleTest
extends org.eclipse.jgit.junit.RepositoryTestCase
Modifier and Type | Field and Description |
---|---|
static org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode[] |
allModes |
protected org.eclipse.jgit.internal.storage.file.FileRepository |
submodule_db
a submodule repository inside a root repository
|
protected File |
submodule_trash
Working directory of the submodule repository
|
Constructor and Description |
---|
IndexDiffSubmoduleTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testDirtyRootWorktree(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleHEAD(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleIndex(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleIndexAndWorktree(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleWorktree(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleWorktreeUntracked(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testInitiallyClean(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
protected org.eclipse.jgit.internal.storage.file.FileRepository submodule_db
protected File submodule_trash
public static org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode[] allModes
public void setUp() throws Exception
setUp
in class org.eclipse.jgit.junit.RepositoryTestCase
Exception
public void testInitiallyClean(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException
IOException
public void testDirtyRootWorktree(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException
IOException
public void testDirtySubmoduleWorktree(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException
IOException
public void testDirtySubmoduleHEAD(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testDirtySubmoduleIndex(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException, org.eclipse.jgit.api.errors.GitAPIException
IOException
org.eclipse.jgit.api.errors.GitAPIException
public void testDirtySubmoduleIndexAndWorktree(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException, org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.errors.NoWorkTreeException
IOException
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.NoWorkTreeException
public void testDirtySubmoduleWorktreeUntracked(org.eclipse.jgit.submodule.SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException
IOException
Copyright © 2015 Eclipse JGit Project. All rights reserved.