Skip to content

instrumentation test for the BAD_SIGNATURE badge #3369

Todo

Description

@DenBond7

No androidTest checks PgpBadgeListAdapter.PgpBadge.Type.BAD_SIGNATURE today. The SIGNED badge is covered in MessageDetailsFlowTest, ThreadDetailsGmailApiFlowTest and MessageDetailsSignatureLookupFlowTest, but the red badge is only covered at the VerificationResult level by unit tests. Let's add tampered signed MIME fixtures (cleartext and detached) and check that the message details screen, and the thread view (MessagesInThreadListAdapter) if cheap, show BAD_SIGNATURE. For a separate PR.

Originally posted by @DenBond7 in #3360 (comment)

Activity

  1. self-assigned this
    on Dec 2, 2026
  2. added this to the 1.6.7 milestone on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions