Signal-iOS/SignalServiceKit/tests/Util
Harry 6576349613
Migrate KeyBackupService to the Swift Way™️
* Put KeyBackupService in its own folder

* Put SDSKeyValueStore in its own directory

* Put SDSDatabaseStorage in its own directory

* Stop doing useless dispatches in SDSTransactable

* Add V2 DB classes

* Wrap SDSKeyValueStore in a protocol and factory

* Make TSConstantsProtocol public to take it as a param in other places

* Take explicit transactions and do single lookups in TSAccountManager registration state methods

* Take explicit transaction on OWS2FAManager

* Make KeyBackupService an instance that takes dependencies on init

* Protocolize KeyBackupService

* Put Dependencies+SSK in its own directory

* Add DependenciesBridge

* add ViewControllerContext

* used shared context in OnboardingController

* Don't check KeyBackupService in RemoteConfigManager; the one and only callsite already checks it separately

* All the random cleanup that needed to happen to get the app to build again.

* Add mock dbv2 classes

* Migrate existing KeyBackupServiceTests

* Namespace KBS shims

* DBV2 -> DB, after changing the min swiftlint type length to 2 chars

* add toy example

* Unwrap writes as reads

* pr comments

* pr comments 2: return of the nits

* final Pr comment
2023-02-02 09:42:05 -08:00
..
AppVersionTests.swift Fetch and persist remote megaphones 2022-10-26 15:03:08 -07:00
ChainedPromiseTest.swift Fix SwiftLint violations 2022-11-29 14:47:23 -08:00
CRC32Test.swift Add tests for CRC32 2022-12-06 11:55:46 -06:00
Data+SSKTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
DataMessagePaddingTests.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
Date+SSKTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
DecimalTest.swift Prefer Decimal over NSDecimalNumber 2022-10-18 09:43:46 -05:00
DeviceNamesTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
DispatchQueue+OWSTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ErrorTest.swift Add & use Error.shortDescription in a few places 2023-01-23 10:22:54 -08:00
FeatureFlagsTests.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
JobQueueTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
LinkValidatorTest.swift Check for problematic characters in link previews 2023-01-24 18:00:40 -08:00
LRUCacheTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
MathOWSTests.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
NSData+ImageTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSErrorTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSFileSystemTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSFormatTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSOperationTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
PhoneNumberRegionsTest.swift Hide Apple Pay UI when the server disallows your region 2022-11-10 16:19:47 -06:00
PngChunkerTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
RefineryTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
RemoteConfigManagerTests.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SqliteUtilTest.swift Move checker to separate file 2023-01-25 17:57:16 -06:00
StringTest.swift Add card validation code 2022-11-11 14:24:41 -06:00
TSMessageStorageTests.m Change license to AGPL 2022-10-13 08:25:37 -05:00
UnfairLockTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
URLPathComponentsTest.swift Clean up preauth challenge request 2023-01-25 14:22:22 -06:00
ViewOnceMessagesTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00