summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit/src
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2019-08-10 23:46:50 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2019-08-11 00:06:03 +0200
commit9add6d3e24278ec8c8075a99490ea397c387d4ce (patch)
tree5c5b784f7a7975572e7cf52b4aa58699ed254717 /org.eclipse.jgit.junit/src
parent118ee616400f66bdb6da5de9fa1479d14d5cb122 (diff)
downloadjgit-9add6d3e24278ec8c8075a99490ea397c387d4ce.tar.gz
jgit-9add6d3e24278ec8c8075a99490ea397c387d4ce.zip
Implement toString in MockSystemReader and MockConfig
This helps when debugging. Change-Id: I3d72e1ea207ba60be77a7a9a840abb71ade1271c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.junit/src')
-rw-r--r--org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java
index abbbf32969..92b531d191 100644
--- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java
+++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java
@@ -89,6 +89,11 @@ public class MockSystemReader extends SystemReader {
public boolean isOutdated() {
return false;
}
+
+ @Override
+ public String toString() {
+ return "MockConfig";
+ }
}
long now = 1250379778668L; // Sat Aug 15 20:12:58 GMT-03:30 2009
@@ -285,4 +290,10 @@ public class MockSystemReader extends SystemReader {
e.printStackTrace();
}
}
+
+ @Override
+ public String toString() {
+ return "MockSystemReader";
+ }
+
}