public class EolRepositoryTest
extends org.eclipse.jgit.junit.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 |
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 org.eclipse.jgit.revwalk.RevCommit gitCommit(org.eclipse.jgit.api.Git git, String msg) throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIException
protected void gitAdd(org.eclipse.jgit.api.Git git, String path) throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIException
protected void gitResetHard(org.eclipse.jgit.api.Git git) throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIException
protected void gitCheckout(org.eclipse.jgit.api.Git git, String revstr) throws org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.errors.RevisionSyntaxException, IOException
org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.errors.RevisionSyntaxException
IOException
Copyright © 2018 Eclipse JGit Project. All rights reserved.