From 6ba6b6245312e6140b0855e5bfb1cedc6f4a0edf Mon Sep 17 00:00:00 2001 From: Stefan Kolb Date: Tue, 13 Dec 2016 11:05:04 +0100 Subject: [PATCH] Fix XMP test --- src/main/java/net/sf/jabref/cli/XMPUtilMain.java | 2 +- src/test/java/net/sf/jabref/logic/xmp/XMPUtilTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/sf/jabref/cli/XMPUtilMain.java b/src/main/java/net/sf/jabref/cli/XMPUtilMain.java index 816fbd8f73c2..18267ecff905 100644 --- a/src/main/java/net/sf/jabref/cli/XMPUtilMain.java +++ b/src/main/java/net/sf/jabref/cli/XMPUtilMain.java @@ -176,7 +176,7 @@ private static void usage() { System.out.println(" xmpUtil "); System.out.println(""); System.out - .println("To report bugs visit http://jabref.sourceforge.net"); + .println("To report bugs visit https://github.com/JabRef/jabref/issues"); } } diff --git a/src/test/java/net/sf/jabref/logic/xmp/XMPUtilTest.java b/src/test/java/net/sf/jabref/logic/xmp/XMPUtilTest.java index 72b5f3efceff..e9605d89d22b 100644 --- a/src/test/java/net/sf/jabref/logic/xmp/XMPUtilTest.java +++ b/src/test/java/net/sf/jabref/logic/xmp/XMPUtilTest.java @@ -1207,13 +1207,13 @@ public void testCommandLineSinglePdf() throws IOException, TransformerException, * @throws TransformerException */ @Test - @Ignore public void testCommandLineByKey() throws IOException, TransformerException { File tempBib = File.createTempFile("JabRef", ".bib"); try (BufferedWriter fileWriter = Files.newBufferedWriter(tempBib.toPath(), StandardCharsets.UTF_8)) { fileWriter.write(t1BibtexString()); fileWriter.write(t2BibtexString()); + fileWriter.close(); { // First try canh05 PrintStream oldOut = System.out;