public class EolRepositoryTest extends RepositoryTestCase
| Modifier and Type | Field and Description |
|---|---|
protected String |
CONTENT_CRLF |
protected String |
CONTENT_LF |
protected String |
CONTENT_MIXED |
static boolean |
dontSmudgeEntries |
static boolean |
doSmudgeEntries |
static String[] |
hugeContents |
static String[] |
smallContents |
db, trashASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE| Constructor and Description |
|---|
EolRepositoryTest(String[] testContent,
boolean smudgeEntries) |
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, setUp, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic static boolean doSmudgeEntries
public static boolean dontSmudgeEntries
public static String[] smallContents
public static String[] hugeContents
protected String CONTENT_CRLF
protected String CONTENT_LF
protected String CONTENT_MIXED
public EolRepositoryTest(String[] testContent, boolean smudgeEntries)
public void checkEntryContent(org.eclipse.jgit.api.EolRepositoryTest.ActualEntry entry, String fileContent, String indexContent)
public void test_ConfigAutoCRLF_false()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_input()
throws Exception
Exceptionpublic void test_ConfigEOL_native_windows()
throws Exception
Exceptionpublic void test_ConfigEOL_native_xnix()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_false_ConfigEOL_lf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_false_ConfigEOL_native()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_true_ConfigEOL_lf()
throws Exception
Exceptionpublic void test_switchToBranchWithTextAttributes()
throws Exception
Exceptionpublic void test_switchToBranchWithBinaryAttributes()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_input_ConfigEOL_lf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_true_GlobalEOL_lf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_false_GlobalEOL_lf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_input_GlobalEOL_lf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_true_GlobalEOL_crlf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_false_GlobalEOL_crlf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_input_GlobalEOL_crlf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_true_GlobalEOL_lf_InfoEOL_crlf()
throws Exception
Exceptionpublic void test_ConfigAutoCRLF_false_GlobalEOL_crlf_InfoEOL_lf()
throws Exception
Exceptionpublic void test_GlobalEOL_lf_RootEOL_crlf()
throws Exception
Exceptionpublic void test_GlobalEOL_lf_InfoEOL_crlf_RootEOL_lf()
throws Exception
Exceptionpublic void test_GlobalEOL_lf_InfoEOL_crlf_RootEOL_unspec()
throws Exception
Exceptionpublic void test_GlobalEOL_lf_InfoEOL_unspec_RootEOL_crlf()
throws Exception
Exceptionprotected RevCommit gitCommit(Git git, String msg) throws GitAPIException
GitAPIExceptionprotected void gitAdd(Git git, String path) throws GitAPIException
GitAPIExceptionprotected void gitResetHard(Git git) throws GitAPIException
GitAPIExceptionprotected void gitCheckout(Git git, String revstr) throws GitAPIException, RevisionSyntaxException, IOException
Copyright © 2018 Eclipse JGit Project. All rights reserved.