Signal-iOS/SignalServiceKit
Michelle Linington ddb2467ebf Added tests to exercise UUIDBackfillTask
This adds a whole bunch of tests for UUIDBackfillTask. This required a
small change to be made in SignalServiceAddress. Currently,
SignalServiceAddress accesses a singleton cache to force updates to any
existing addresses after a UUID is discovered. This breaks a whole bunch
of test verification.

To workaround this, I've added a testing_ flag to modify the singleton
SignalServiceAddressCache to temporarily disable it. This is going to
cause problems if we ever enable test parallelization, but it's all we
can do for now.

This also adds in incremental backoff logic, changes some of the log
statements and disables the task on production.

Also, adopted some minor feedback Matthew provided in the draft PR,
including:
- Rename: {signal -> registered}RecipientsWithoutUUID
- Move to owsFailDebug instead of assertionFailure
- Adopt `IsNetworkConnectivityFailure` for discerning network failures
- Add some extra assertions around our registered/unregistered sets
2020-07-13 18:20:47 -07:00
..
protobuf Render memoji, bitmoji, etc. as stickers 2020-07-06 11:43:35 -07:00
Resources Track last messaging date on user profile. 2020-07-08 11:10:37 -03:00
src Added tests to exercise UUIDBackfillTask 2020-07-13 18:20:47 -07:00
tests Added tests to exercise UUIDBackfillTask 2020-07-13 18:20:47 -07:00
Utilities Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00
.clang-format Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.gitignore Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.travis.yml Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
CONTRIBUTING.md Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00
LICENSE Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
README.md Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00

SignalServiceKit

SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X

To use SignalServiceKit via CocoaPods add the following to your Podfile

pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git'