public class DescribeCommandTest
extends org.eclipse.jgit.junit.RepositoryTestCase
| Modifier and Type | Field and Description |
|---|---|
boolean |
useAnnotatedTags |
| Constructor and Description |
|---|
DescribeCommandTest() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Boolean[]> |
getUseAnnotatedTagsValues() |
void |
noTargetSet() |
void |
setUp() |
void |
t1DominatesT2()
When t2 dominates t1, it's clearly preferable to describe by using t2.
|
void |
t1nearerT2()
When t1 is nearer than t2, t2 should be found
|
void |
t1sameDepthT2()
When t1 and t2 have same depth native git seems to add the depths of both
paths
|
void |
testDescribe() |
void |
testDescribeBranch()
Make sure it finds a tag when not all ancestries include a tag.
|
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFilesaddRepoToClose, createBareRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, writepublic static Collection<Boolean[]> getUseAnnotatedTagsValues()
public void setUp()
throws Exception
setUp in class org.eclipse.jgit.junit.RepositoryTestCaseExceptionpublic void testDescribeBranch()
throws Exception
c1 -+-> T -
| |
+-> c3 -+-> c4
Exceptionpublic void t1DominatesT2()
throws Exception
t1 -+-> t2 -
| |
+-> c3 -+-> c4
Exceptionpublic void t1nearerT2()
throws Exception
c1 -+-> c2 -> t1 -+
| |
+-> t2 -> c3 -+-> c4
ExceptionCopyright © 2016 Eclipse JGit Project. All rights reserved.