libsignal-protocol-java icon indicating copy to clipboard operation
libsignal-protocol-java copied to clipboard

NumericFingerprintGeneratorTest does not build due to fingerprint comparison changes

Open dkonigsberg opened this issue 8 years ago • 0 comments

ScannableFingerprint comparison used to throw a FingerprintIdentifierMismatchException in cases of mismatch. It now just returns a boolean that indicates whether or not the fingerprints matched. I don't think the unit tests were ever updated to handle this change. As such, I now get the following build errors when trying to build NumericFingerprintGeneratorTest:

Error:(108, 7) error: exception FingerprintIdentifierMismatchException is never thrown in body of corresponding try statement Error:(115, 7) error: exception FingerprintIdentifierMismatchException is never thrown in body of corresponding try statement

dkonigsberg avatar Jan 09 '17 22:01 dkonigsberg