mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 10:19:39 +02:00
Add some debug checks to test
This commit is contained in:
parent
70cb9df8a9
commit
c9a7accec8
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ public class FixUserIdDoesNotBreakEncryptionCapabilityTest {
|
||||||
KeyRingInfo before = PGPainless.inspectKeyRing(secretKeys);
|
KeyRingInfo before = PGPainless.inspectKeyRing(secretKeys);
|
||||||
KeyRingInfo after = PGPainless.inspectKeyRing(modified);
|
KeyRingInfo after = PGPainless.inspectKeyRing(modified);
|
||||||
|
|
||||||
|
assertEquals(userIdBefore, before.getPrimaryUserId());
|
||||||
|
assertEquals(userIdAfter, after.getPrimaryUserId());
|
||||||
|
assertTrue(after.isKeyValidlyBound(after.getKeyId()));
|
||||||
assertTrue(before.isUsableForEncryption());
|
assertTrue(before.isUsableForEncryption());
|
||||||
assertTrue(before.isUsableForSigning());
|
assertTrue(before.isUsableForSigning());
|
||||||
assertTrue(before.isUserIdValid(userIdBefore));
|
assertTrue(before.isUserIdValid(userIdBefore));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue