]> source.dussan.org Git - jgit.git/commit
Also use MockSystemReader in GitDateParserBadlyFormattedTest 66/18066/1
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 5 Nov 2013 08:29:13 +0000 (09:29 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 5 Nov 2013 08:29:13 +0000 (09:29 +0100)
commit35331a916a4feaae59ccc41e644377b0511a291c
tree846370e2006906618e137383b105cb14a3ef0f26
parentb686fa45b6e4960dfa0ef1b1897505aec98b9bea
Also use MockSystemReader in GitDateParserBadlyFormattedTest

All tests should use MockSystemReader to isolate them from the
underlying platform specifics.

GitDateParserBadlyFormattedTest wasn't using MockSystemReader which
induced Bug 420772 as a side effect since GitDateParser caches
SimpleDateFormat instances without regarding their locale. This will be
fixed in another change

Bug: 420772
Change-Id: I798e55d05730a71bb0326f80aea5488541d6c1f2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java