From 6e8ee40e41d84e0466153802a2c9b4ae88af3544 Mon Sep 17 00:00:00 2001 From: RncLsn Date: Tue, 9 Jun 2015 18:23:15 +0100 Subject: Fixed marking original individuals in the relevant upper store. --- test/uk/ac/ox/cs/pagoda/util/TestUtil.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'test/uk/ac/ox/cs/pagoda/util/TestUtil.java') diff --git a/test/uk/ac/ox/cs/pagoda/util/TestUtil.java b/test/uk/ac/ox/cs/pagoda/util/TestUtil.java index c3909d5..fdd242a 100644 --- a/test/uk/ac/ox/cs/pagoda/util/TestUtil.java +++ b/test/uk/ac/ox/cs/pagoda/util/TestUtil.java @@ -22,7 +22,7 @@ import static java.nio.file.StandardCopyOption.REPLACE_EXISTING; public class TestUtil { public static final String CONFIG_FILE = "test.properties"; - + private static final Logger LOGGER = Logger.getLogger("Tester"); private static boolean isConfigLoaded = false; private static Properties config; @@ -71,4 +71,20 @@ public class TestUtil { return Paths.get(givenAnswersURL.getPath()); } + public static void logInfo(Object msg) { + LOGGER.info(msg); + } + + public static void logDebug(Object msg) { + LOGGER.debug(msg); + } + + public static void logError(Object msg) { + LOGGER.error(msg); + } + + public static void logError(Object msg, Throwable t) { + LOGGER.error(msg, t); + } + } -- cgit v1.2.3