From 707252b62b6c0bfdd2328dc60bec1ac9e22d6af3 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 6 Jan 2015 19:43:39 +0200 Subject: [PATCH] ignores and unused dependency removal --- .gitignore | 3 ++- src/nodash/test/NoCoreTest.java | 11 +++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 527411f..66846b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /bin/ /.settings/ .classpath -.project \ No newline at end of file +.project +/nodatabase.hash diff --git a/src/nodash/test/NoCoreTest.java b/src/nodash/test/NoCoreTest.java index 244b2ee..701b310 100644 --- a/src/nodash/test/NoCoreTest.java +++ b/src/nodash/test/NoCoreTest.java @@ -11,7 +11,6 @@ import org.apache.commons.codec.binary.Base64; import nodash.core.NoCore; import nodash.core.NoRegister; -import nodash.core.NoUtil; import nodash.exceptions.NoDashSessionBadUUIDException; import nodash.exceptions.NoUserAlreadyOnlineException; import nodash.exceptions.NoUserNotValidException; @@ -442,6 +441,12 @@ public class NoCoreTest { return ticker.passed(); } + public static void run() { + if (testAll()) { + logger.info("All tests passed."); + } + } + public static void main(String[] args) throws UnsupportedEncodingException, IllegalBlockSizeException, BadPaddingException { setSilence(true); setPrintStackTraces(true); @@ -449,8 +454,6 @@ public class NoCoreTest { NoCore.setup(); } - if (testAll()) { - logger.info("All tests passed."); - } + run(); } }