public class PlotCommitListTest extends RevWalkTestCase
rw
db, trash
ASSUME_UNCHANGED, author, committer, CONTENT, CONTENT_ID, LENGTH, mockSystemReader, MOD_TIME, SMUDGE
Constructor and Description |
---|
PlotCommitListTest() |
Modifier and Type | Method and Description |
---|---|
void |
test2SideBranches() |
void |
testBug300282_1() |
void |
testBug368927() |
void |
testBug419359()
The graph shows the problematic original positioning.
|
void |
testDanglingCommitShouldContinueLane()
b1
a3 |
| |
a2 |
-- processing stops here --
| /
a1
|
void |
testDuplicateParents() |
void |
testEgitHistory() |
void |
testLinear() |
void |
testMergeBlockedByOther()
b2
a4 |
| \ |
a3 \|
| \ |
| c |
| / |
a2 |
| b1
/
| /
a1
|
void |
testMergeBlockedBySelf()
a4
| b3
a3 |
| \\|
| |\\
| b2||
a2 | //
| b1
| /
a1
|
void |
testMerged() |
void |
testMultipleMerges()
b3
a4 |
| \|
| b2
a3 |
| \|
a2 |
| b1
| /
a1
|
void |
testSideBranch() |
void |
testTwoRoots1() |
void |
testTwoRoots2() |
assertCommit, blob, commit, commit, commit, commit, commitBuilder, createRevWalk, file, get, getDate, markStart, markUninteresting, parseBody, setUp, tag, tick, tree
assertEqualsFile, check, checkFile, checkoutBranch, commitFile, copyFile, createBranch, createEntry, createEntry, createEntry, deleteTrashFile, fsTick, indexState, lookup, read, resetIndex, slashify, writeLink, writeTrashFile, writeTrashFile, writeTrashFiles
addRepoToClose, createBareRepository, createRepository, createTempDirectory, createTempFile, createUniqueTestGitDir, createWorkRepository, getCeilings, getTemporaryDirectory, indexState, read, recursiveDelete, runHook, tearDown, tick, write, write
public void testBug419359() throws Exception
a5 | \ | a4 | / a3 | | e | \ | | | b3 | | | d | |/ | /| |/ | a2 | | b2 | \ | c | | / / |/ b1 a1
Exception
public void testMultipleMerges() throws Exception
b3 a4 | | \| | b2 a3 | | \| a2 | | b1 | / a1
Exception
public void testMergeBlockedBySelf() throws Exception
a4 | b3 a3 | | \\| | |\\ | b2|| a2 | // | b1 | / a1
Exception
public void testMergeBlockedByOther() throws Exception
b2 a4 | | \ | a3 \| | \ | | c | | / | a2 | | b1 / | / a1
Exception
public void testDanglingCommitShouldContinueLane() throws Exception
b1 a3 | | | a2 | -- processing stops here -- | / a1
Exception
Copyright © 2018 Eclipse JGit Project. All rights reserved.