From: Jim Procter Date: Tue, 16 Apr 2019 15:06:52 +0000 (+0100) Subject: JAL-3130 JAL-1889 reportCurrentWorkingDirectory test to report absolute path when... X-Git-Tag: Release_2_11_0~17^2~7^2~27 X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=397492a5c6d3bf851eb1689af32af03df7790eb8 JAL-3130 JAL-1889 reportCurrentWorkingDirectory test to report absolute path when running command line tests --- diff --git a/test/jalview/bin/CommandLineOperations.java b/test/jalview/bin/CommandLineOperations.java index c340927..cb08563 100644 --- a/test/jalview/bin/CommandLineOperations.java +++ b/test/jalview/bin/CommandLineOperations.java @@ -195,17 +195,22 @@ public class CommandLineOperations } return worker; } - @Test(alwaysRun=true) + + @Test(groups = { "Functional" }) public void reportCurrentWorkingDirectory() { - try { - Path currentRelativePath = Paths.get(""); - String s = currentRelativePath.toAbsolutePath().toString(); - System.out.println("Test CWD is "+s); - } catch (Exception q) { - q.printStackTrace(); - } + try + { + Path currentRelativePath = Paths.get(""); + String s = currentRelativePath.toAbsolutePath().toString(); + System.out.println("Test CWD is " + s); + System.err.println("Test CWD is " + s); + } catch (Exception q) + { + q.printStackTrace(); + } } + @BeforeTest(alwaysRun = true) public void initialize() {