From bbf28b1cf4c7a6e2d4fdafd31b79777251d20094 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Mon, 10 Feb 2014 08:10:31 +0100 Subject: Command line: implement checkout -- Change-Id: I3d261e6541fe0fcaa210587d2aa226e153071351 Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'org.eclipse.jgit.pgm.test/src/org/eclipse/jgit') diff --git a/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java b/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java index a328baec27..50ddfe04d8 100644 --- a/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java +++ b/org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java @@ -81,6 +81,10 @@ public class CLIRepositoryTestCase extends LocalDiskRepositoryTestCase { return JGitTestUtil.writeTrashFile(db, name, data); } + protected String read(final File file) throws IOException { + return JGitTestUtil.read(file); + } + protected void deleteTrashFile(final String name) throws IOException { JGitTestUtil.deleteTrashFile(db, name); } -- cgit v1.2.3