public class InitCommandTest extends RepositoryTestCase
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
InitCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testInitBare_DirAndGitDirMustBeEqual() |
void |
testInitBareRepository() |
void |
testInitNonBare_GitdirAndDirShouldntBeSame() |
void |
testInitNonEmptyRepository() |
void |
testInitRepository() |
void |
testInitWithDefaultsBare() |
void |
testInitWithDefaultsNonBare() |
void |
testInitWithExplicitGitDir() |
void |
testInitWithOnlyExplicitGitDir() |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic void setUp()
throws Exception
setUp in class RepositoryTestCaseExceptionpublic void testInitRepository()
throws IOException,
JGitInternalException,
GitAPIException
public void testInitNonEmptyRepository()
throws IOException,
JGitInternalException,
GitAPIException
public void testInitBareRepository()
throws IOException,
JGitInternalException,
GitAPIException
public void testInitWithExplicitGitDir()
throws IOException,
JGitInternalException,
GitAPIException
public void testInitWithOnlyExplicitGitDir()
throws IOException,
JGitInternalException,
GitAPIException
public void testInitBare_DirAndGitDirMustBeEqual()
throws IOException,
JGitInternalException,
GitAPIException
public void testInitWithDefaultsNonBare()
throws JGitInternalException,
GitAPIException,
IOException
public void testInitWithDefaultsBare()
throws JGitInternalException,
GitAPIException,
IOException
public void testInitNonBare_GitdirAndDirShouldntBeSame()
throws JGitInternalException,
GitAPIException,
IOException
Copyright © 2018 Eclipse JGit Project. All rights reserved.