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(); } }