ignores and unused dependency removal

This commit is contained in:
Dave
2015-01-06 19:43:39 +02:00
parent e5ca4b6048
commit 707252b62b
2 changed files with 9 additions and 5 deletions

3
.gitignore vendored
View File

@@ -1,4 +1,5 @@
/bin/ /bin/
/.settings/ /.settings/
.classpath .classpath
.project .project
/nodatabase.hash

View File

@@ -11,7 +11,6 @@ import org.apache.commons.codec.binary.Base64;
import nodash.core.NoCore; import nodash.core.NoCore;
import nodash.core.NoRegister; import nodash.core.NoRegister;
import nodash.core.NoUtil;
import nodash.exceptions.NoDashSessionBadUUIDException; import nodash.exceptions.NoDashSessionBadUUIDException;
import nodash.exceptions.NoUserAlreadyOnlineException; import nodash.exceptions.NoUserAlreadyOnlineException;
import nodash.exceptions.NoUserNotValidException; import nodash.exceptions.NoUserNotValidException;
@@ -442,6 +441,12 @@ public class NoCoreTest {
return ticker.passed(); return ticker.passed();
} }
public static void run() {
if (testAll()) {
logger.info("All tests passed.");
}
}
public static void main(String[] args) throws UnsupportedEncodingException, IllegalBlockSizeException, BadPaddingException { public static void main(String[] args) throws UnsupportedEncodingException, IllegalBlockSizeException, BadPaddingException {
setSilence(true); setSilence(true);
setPrintStackTraces(true); setPrintStackTraces(true);
@@ -449,8 +454,6 @@ public class NoCoreTest {
NoCore.setup(); NoCore.setup();
} }
if (testAll()) { run();
logger.info("All tests passed.");
}
} }
} }