]> source.dussan.org Git - jgit.git/commit
Return parsed objects from TestRepository.commit/tree/blob() 65/125065/6
authorTerry Parker <tparker@google.com>
Wed, 27 Jun 2018 00:22:07 +0000 (17:22 -0700)
committerTerry Parker <tparker@google.com>
Thu, 28 Jun 2018 23:28:09 +0000 (16:28 -0700)
commit00e51e35eeb0c3f15af9a03a600fa669d79d5beb
tree2b9ec60ff9f9a21ef7ab5a4c45471648db9bb14d
parent115a740e2fa65d3ab70f150691b045ecfdb146bb
Return parsed objects from TestRepository.commit/tree/blob()

It is convenient for TestRepository to return fully parsed
objects from its commit()/tree()/blob() methods, so that test
code doesn't have to remember to parse them before making
assertions about them.

Update TestRepostiory to return fully parsed objects.
Adjust the tests that are affected by this change in behavior.

Change-Id: I09d03d0c80ad22cb7092f4a2eaed99d40a10af63
Signed-off-by: Terry Parker <tparker@google.com>
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/pack/GcCommitSelectionTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevObjectTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkCullTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkShallowTest.java