Signal-iOS/SignalServiceKit/tests/Util
Michelle Linington e3e903a8ad IOS-631: Suppress message processing pipeline while we have a pending backfill operation
Creates a new root singleton: OWSMessagePipelineSupervisor

As of right now, this singleton has two responsibilities:
- Track all message processing pipeline stages that have registered
  themselves
- Post processing suspension updates to interested stages

Four classes will now register themselves as pipeline stages:
- OWSMessageContentQueue
- YAPDBMessageDecryptQueue
- IncomingGroupsV2MessageQueue
- SSKMessageDecryptJobQueue

At initialization, OWSMessagePipelineSupervisor will take out a pipeline
suspension while it waits for a UUIDBackfillTask to complete. Other
interested objects are also able to suspend the message processing
pipeline by invoking suspendMessageProcessing(for:) on the supervisor
(though, currently this is not used by anything except tests)

This also adds some supporting improvements to UnfairLock. Now,
UnfairLock closures will return the value returned from its critical
section closure.
2020-07-22 21:10:27 -07:00
..
DeviceNamesTest.swift Linking flow 2019-10-17 10:19:32 -06:00
DispatchQueue+OWSTest.swift Adopt changes from precommit linting scripts 2020-07-06 13:48:59 -07:00
JobQueueTest.swift PR Feedback 2020-03-16 16:30:58 -07:00
kbs_pin_sanitation_vectors.json Additional KBS vectors and normalization fix 2020-01-23 08:56:05 -08:00
kbs_storage_service_encryption_vectors.json Storage Service Encryption Finalization 2020-02-11 13:29:02 -08:00
kbs_vectors.json Additional KBS vectors and normalization fix 2020-01-23 08:56:05 -08:00
KeyBackupServiceTests.swift Simplify 2FA logic, update copy 2020-07-10 17:04:36 -07:00
OWSAnalyticsTests.m Add server certificate methods to UD manager. 2018-10-02 13:24:00 -04:00
OWSOperationTest.swift Swift errors vs. isRetryable 2019-07-25 10:56:30 -06:00
TSMessageStorageTests.m Add TSIncomingMessageBuilder. 2020-05-11 09:28:13 -03:00
UnfairLockTest.swift IOS-631: Suppress message processing pipeline while we have a pending backfill operation 2020-07-22 21:10:27 -07:00
ViewOnceMessagesTest.swift Remove readReturningResult(). 2019-11-14 10:39:33 -03:00