aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox/cs/pagoda/util/TestUtil.java
diff options
context:
space:
mode:
authorRncLsn <rnc.lsn@gmail.com>2015-06-09 18:23:15 +0100
committerRncLsn <rnc.lsn@gmail.com>2015-06-09 18:23:15 +0100
commit6e8ee40e41d84e0466153802a2c9b4ae88af3544 (patch)
tree74d5d4fa04f2c8339433fffd6ababc2b21afc2e1 /test/uk/ac/ox/cs/pagoda/util/TestUtil.java
parentdcdf7f8062919e5746b0b15c77ba8279d5f526c1 (diff)
downloadACQuA-6e8ee40e41d84e0466153802a2c9b4ae88af3544.tar.gz
ACQuA-6e8ee40e41d84e0466153802a2c9b4ae88af3544.zip
Fixed marking original individuals in the relevant upper store.
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/util/TestUtil.java')
-rw-r--r--test/uk/ac/ox/cs/pagoda/util/TestUtil.java18
1 files changed, 17 insertions, 1 deletions
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;
22public class TestUtil { 22public class TestUtil {
23 23
24 public static final String CONFIG_FILE = "test.properties"; 24 public static final String CONFIG_FILE = "test.properties";
25 25 private static final Logger LOGGER = Logger.getLogger("Tester");
26 private static boolean isConfigLoaded = false; 26 private static boolean isConfigLoaded = false;
27 private static Properties config; 27 private static Properties config;
28 28
@@ -71,4 +71,20 @@ public class TestUtil {
71 return Paths.get(givenAnswersURL.getPath()); 71 return Paths.get(givenAnswersURL.getPath());
72 } 72 }
73 73
74 public static void logInfo(Object msg) {
75 LOGGER.info(msg);
76 }
77
78 public static void logDebug(Object msg) {
79 LOGGER.debug(msg);
80 }
81
82 public static void logError(Object msg) {
83 LOGGER.error(msg);
84 }
85
86 public static void logError(Object msg, Throwable t) {
87 LOGGER.error(msg, t);
88 }
89
74} 90}