add fsTick() to RepositoryTestCase
commit7bbe203578def873f0409454d7035d69347fc31e
authorChristian Halstrick <christian.halstrick@sap.com>
Tue, 3 Aug 2010 20:27:41 +0000 (3 22:27 +0200)
committerStefan Lay <stefan.lay@sap.com>
Wed, 4 Aug 2010 11:36:27 +0000 (4 13:36 +0200)
tree4eb713105d5dbc1a3fe72adf81499956d04b7a49
parent9a008d68b57713932c135e4333a4930d547272ca
add fsTick() to RepositoryTestCase

An utility method which was in RacyGitTests has been moved to
RepositoryTestCase. Also the javadoc has been improved.
This method allows to wait long enough until the
filesystem-timer has advanced. This is useful when it has to
be guaranteed that two files modifications have different
modification timestamps.

Change-Id: I2ebd7cd7818feba6acffb3f835101d8fd281bd5a
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RacyGitTests.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryTestCase.java