]> source.dussan.org Git - jgit.git/commit
Push control of time into MockSystemReader 26/58526/3
authorTerry Parker <tparker@google.com>
Tue, 20 Oct 2015 00:33:50 +0000 (17:33 -0700)
committerTerry Parker <tparker@google.com>
Tue, 20 Oct 2015 22:57:31 +0000 (15:57 -0700)
commit069040ddad625ec48c9d1dd2b3ecc9a0cb8a40f0
tree0dfc07556ae83cab39c1f9f1053d532384fb76a4
parenteec37d2334bd09271773ee519e20d24e5e90da81
Push control of time into MockSystemReader

LocalDiskRepositoryTestCase and TestRepository have competing ideas
about time. Push them into MockSystemReader so they can
cooperate.

Rename getClock() methods that return Dates to getDate().

Change-Id: Ibbd9fe7f85d0064b0a19e3b675b9718a9e67c479
Signed-off-by: Terry Parker <tparker@google.com>
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/LocalDiskRepositoryTestCase.java
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/junit/TestRepositoryTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkFilterTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkTestCase.java