Signal-iOS/SignalServiceKit/src/TestUtils
Jordan Rose 42c18bcc0b Use a mock reachability manager for testing
The normal reachability manager would never get configured during
testing because it waited for AppReadiness. However, it still created
an OWSURLSession, and if between tests the previous reachability
manager wasn't destroyed fast enough, trying to set up a new one would
create a second URL session with the same background identifier, which
isn't allowed.

Fix this by providing a MockSSKReachabilityManager, which is never
reachable by default, and while here update the background identifier
to be something descriptive.
2022-05-25 13:09:14 -07:00
..
Factories.swift Stop using arc4random in Swift files 2022-05-03 10:19:07 -05:00
FakeAccountServiceClient.swift Refresh PNI pre-keys along with ACI pre-keys 2022-04-07 14:06:27 -07:00
FakeContactsManager.swift Test phone number sharing modes for sealed sender 2022-05-18 10:21:53 -07:00
FakeStorageServiceManager.swift Convert to new Promise library 2021-09-03 11:41:34 -07:00
MockSSKEnvironment.h Fetch phone numbers in a batch. 2022-03-17 12:46:33 -07:00
MockSSKEnvironment.m Use a mock reachability manager for testing 2022-05-25 13:09:14 -07:00
MockSubscriptionManager.swift Don't show subscription megaphone again until your subscription has been expired for at least 2 weeks 2022-02-11 13:09:20 -08:00
NoopNotificationsManager.swift OWSMessageDecrypter should use destinationUuid to choose local stores 2022-04-14 16:47:46 -07:00
NoopPendingReadReceiptRecorder.swift Add support for viewed receipts 2021-04-29 18:01:18 -07:00
OWSFakeCallMessageHandler.h Respond to CR. 2021-10-21 09:21:31 -03:00
OWSFakeCallMessageHandler.m Lint 2022-03-04 14:16:29 -08:00
OWSFakeMessageSender.h Respond to CR. 2021-10-21 09:21:31 -03:00
OWSFakeMessageSender.m Apply script to normalize includes and imports. 2021-10-21 09:21:10 -03:00
OWSFakeProfileManager.h Check if a user is stories capable when sending group replies 2022-03-31 00:37:56 -07:00
OWSFakeProfileManager.m Check if a user is stories capable when sending group replies 2022-03-31 00:37:56 -07:00
OWSMockSyncManager.swift Generate PNI identity key and pre-keys for existing accounts 2022-04-04 15:19:10 -07:00
TestAppContext.h Respond to CR. 2021-10-21 09:21:31 -03:00
TestAppContext.m Render 1:1 story replies 2022-04-15 19:28:14 -07:00
TestKeychainStorage.swift Fix violations of SwiftLint's attributes rule 2022-05-14 09:07:42 -05:00
TestProtocolRunner.swift Un-nest builders for our proto wrapper types 2022-05-19 15:40:21 -07:00