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, trash
ASSUME_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, writeTrashFiles
addRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public 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
Exception
public void test_ConfigAutoCRLF_input() throws Exception
Exception
public void test_ConfigEOL_native_windows() throws Exception
Exception
public void test_ConfigEOL_native_xnix() throws Exception
Exception
public void test_ConfigAutoCRLF_false_ConfigEOL_lf() throws Exception
Exception
public void test_ConfigAutoCRLF_false_ConfigEOL_native() throws Exception
Exception
public void test_ConfigAutoCRLF_true_ConfigEOL_lf() throws Exception
Exception
public void test_switchToBranchWithTextAttributes() throws Exception
Exception
public void test_switchToBranchWithBinaryAttributes() throws Exception
Exception
public void test_ConfigAutoCRLF_input_ConfigEOL_lf() throws Exception
Exception
public void test_ConfigAutoCRLF_true_GlobalEOL_lf() throws Exception
Exception
public void test_ConfigAutoCRLF_false_GlobalEOL_lf() throws Exception
Exception
public void test_ConfigAutoCRLF_input_GlobalEOL_lf() throws Exception
Exception
public void test_ConfigAutoCRLF_true_GlobalEOL_crlf() throws Exception
Exception
public void test_ConfigAutoCRLF_false_GlobalEOL_crlf() throws Exception
Exception
public void test_ConfigAutoCRLF_input_GlobalEOL_crlf() throws Exception
Exception
public void test_ConfigAutoCRLF_true_GlobalEOL_lf_InfoEOL_crlf() throws Exception
Exception
public void test_ConfigAutoCRLF_false_GlobalEOL_crlf_InfoEOL_lf() throws Exception
Exception
public void test_GlobalEOL_lf_RootEOL_crlf() throws Exception
Exception
public void test_GlobalEOL_lf_InfoEOL_crlf_RootEOL_lf() throws Exception
Exception
public void test_GlobalEOL_lf_InfoEOL_crlf_RootEOL_unspec() throws Exception
Exception
public void test_GlobalEOL_lf_InfoEOL_unspec_RootEOL_crlf() throws Exception
Exception
protected RevCommit gitCommit(Git git, String msg) throws GitAPIException
GitAPIException
protected void gitAdd(Git git, String path) throws GitAPIException
GitAPIException
protected void gitResetHard(Git git) throws GitAPIException
GitAPIException
protected void gitCheckout(Git git, String revstr) throws GitAPIException, RevisionSyntaxException, IOException
Copyright © 2018 Eclipse JGit Project. All rights reserved.