2
0

Allow filtering Java test cases.

This commit is contained in:
Maarten Billemont
2018-06-03 16:50:19 -04:00
parent 073ef4f439
commit 5501f1f97d
3 changed files with 31 additions and 7 deletions

View File

@@ -18,6 +18,8 @@
package com.lyndir.masterpassword;
import static com.lyndir.lhunath.opal.system.util.StringUtils.strf;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.google.common.primitives.UnsignedInteger;
@@ -190,6 +192,12 @@ public abstract class MPAlgorithm {
protected abstract byte[] toID(byte[] bytes);
@Override
public String toString() {
return strf( "%d, %s", version().toInt(), getClass().getSimpleName() );
}
/**
* The algorithm iterations.
*/