Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
briar
briar
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 694
    • Issues 694
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 15
    • Merge Requests 15
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • briar
  • briarbriar
  • Merge Requests
  • !1308

Merged
Opened Nov 27, 2020 by Torsten Grote@groteOwner

Create random avatar for test contacts

  • Overview 10
  • Commits 6
  • Pipelines 3
  • Changes 16

This MR factors out update message encoding from the AvatarManager into an AvatarMessageEncoder, so that it can be used to create messages for testing. Then it introduces a simple TestAvatarCreator interface and implements this only for Android debug builds. This is then used by the TestDataCreator to add avatars to test contacts. Finally, the last commit allows the percentage of contacts with avatars to be configured in the UI.

Dev part of #1848 (closed)

Assignee
Assign to
Reviewer
Request review from
Profile pictures
Milestone
Profile pictures (Past due)
Assign milestone
Time tracking
Reference: briar/briar!1308
Source branch: 1848-test-avatars

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.