public class IndexDiffSubmoduleTest extends RepositoryTestCase
Modifier and Type | Field and Description |
---|---|
static SubmoduleWalk.IgnoreSubmoduleMode[] |
allModes |
protected FileRepository |
submodule_db
a submodule repository inside a root repository
|
protected File |
submodule_trash
Working directory of the submodule repository
|
db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
Constructor and Description |
---|
IndexDiffSubmoduleTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testDirtyRootWorktree(SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleHEAD(SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleIndex(SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleIndexAndWorktree(SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleWorktree(SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testDirtySubmoduleWorktreeUntracked(SubmoduleWalk.IgnoreSubmoduleMode mode) |
void |
testInitiallyClean(SubmoduleWalk.IgnoreSubmoduleMode mode) |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
protected FileRepository submodule_db
protected File submodule_trash
public static SubmoduleWalk.IgnoreSubmoduleMode[] allModes
public void setUp() throws Exception
setUp
in class RepositoryTestCase
Exception
public void testInitiallyClean(SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException
IOException
public void testDirtyRootWorktree(SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException
IOException
public void testDirtySubmoduleWorktree(SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException
IOException
public void testDirtySubmoduleHEAD(SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException, GitAPIException
IOException
GitAPIException
public void testDirtySubmoduleIndex(SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException, GitAPIException
IOException
GitAPIException
public void testDirtySubmoduleIndexAndWorktree(SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException, GitAPIException, NoWorkTreeException
public void testDirtySubmoduleWorktreeUntracked(SubmoduleWalk.IgnoreSubmoduleMode mode) throws IOException
IOException
Copyright © 2016 Eclipse JGit Project. All rights reserved.