aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2013-12-05 00:14:08 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2013-12-05 00:14:25 +0100
commit162a5c4c89b289af3755a2f26843cdf908e93c50 (patch)
tree377792666836715cee1ec2f4d5582641d854dce3 /org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java
parentfceae20181b2b20632fe44731407bfb940093817 (diff)
parentf86a488e32906593903acb31a93a82bed8d87915 (diff)
downloadjgit-162a5c4c89b289af3755a2f26843cdf908e93c50.tar.gz
jgit-162a5c4c89b289af3755a2f26843cdf908e93c50.zip
Merge branch 'master' into stable-3.2
* master: Implement rebase.autostash CLI status should support --porcelain More helpful InvalidPathException messages (include reason) Fix IgnoreRule#isMatch returning wrong result due to missing reset Fix exception on conflicts with recursive merge Add pgm test for checkout of existing branch with checkout conflict Fix broken symbolic links on Cygwin. Do not allow non-ff-rebase if there are uncommitted changes Manage CheckoutConflictException in pgm Fix handling of file/folder conflicts during a checkout Mention null return in Javadoc of Config#getString Fix applying stash on other commit Use static factory methods instead of overloaded constructors Break up GCTest to run in parallel Modify T0004_PackReaderTest to use existing pack Move SampleDataRepositoryTestCase to org.eclipse.jgit.test Support running from JARs in JGitTestUtil Cache SimpleDateFormat in GitDateParser per locale Fix FIXUP error for blank lines in interactive rebase Fix parsing Rebase todo lines when commit message is missing Add close() method to API Update Jetty to 7.6.14.v20131031 Document that path parameters should use '/' as separator Improve Javadoc for typeHint parameter Do not update the ref hot bit when checking isIndexLoaded Don't delete .idx file if .pack file can't be deleted Change-Id: I02abfc09000d0fe9bdf4331c65bec7046f586179 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java
index e0e99a14c2..a6af3a5143 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateParserBadlyFormattedTest.java
@@ -92,7 +92,8 @@ public class GitDateParserBadlyFormattedTest {
Calendar ref = new GregorianCalendar(SystemReader.getInstance()
.getTimeZone(), SystemReader.getInstance().getLocale());
try {
- GitDateParser.parse(dateStr, ref);
+ GitDateParser.parse(dateStr, ref, SystemReader.getInstance()
+ .getLocale());
fail("The expected ParseException while parsing '" + dateStr
+ "' did not occur.");
} catch (ParseException e) {
@@ -103,7 +104,8 @@ public class GitDateParserBadlyFormattedTest {
@Theory
public void badlyFormattedWithoutRef() {
try {
- GitDateParser.parse(dateStr, null);
+ GitDateParser.parse(dateStr, null, SystemReader.getInstance()
+ .getLocale());
fail("The expected ParseException while parsing '" + dateStr
+ "' did not occur.");
} catch (ParseException e) {