Signal-iOS/SignalServiceKit/tests
Adam Sharp f19110add6 Add TSMutex to replace UnfairLock
Renames UnfairLock to TSMutex and refreshes its interface to remove methods
that are unused except in tests.

TSMutex has a generic parameter State that supports non-sendable and
non-copyable values. UnfairLock is a type alias of TSMutex<Void>.

The withLock() function is also no longer inherited from NSLocking, instead
being implemented to be similar to OSAllocatedUnfairLock's API.

Finally, the class is audited for sendability and compiles without warnings
under strict concurrency checking.
2024-11-15 16:31:03 -05:00
..
Account Decode a bunch of JSON constants 2024-10-28 21:34:41 -05:00
Calls Use failable insert methods everywhere possible in backups 2024-11-12 07:35:44 -08:00
ChangePhoneNumber Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Concurrency Add BackupSubscriptionManager 2024-10-22 12:50:03 -07:00
Contacts Fully Swiftify StorageServiceManager 2024-11-07 17:32:41 -08:00
Curve25519 Tighten up checks for PublicKey.init(keyBytes:) 2024-05-20 10:18:42 -07:00
Devices Decode a bunch of JSON constants 2024-10-28 21:34:41 -05:00
Fixtures Improvements to PNG transcoding 2022-09-13 23:22:50 +00:00
GroupMembers Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Groups Do away with some ObjC test infra 2024-05-06 09:57:21 -07:00
Jobs Improve MessageSenderJobQueue fetching 2024-10-28 21:25:40 -05:00
MessageBackup Add comment for why chat_item_group_change_chat_update_36/37 are disabled 2024-11-14 17:27:24 -05:00
Messages Decode a bunch of JSON constants 2024-10-28 21:34:41 -05:00
Network Dont owsFailDebug when MRBK is missing 2024-11-06 06:25:27 -08:00
Profiles Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Protos Change license to AGPL 2022-10-13 08:25:37 -05:00
Registration Add cancellation support to http requests 2024-11-04 14:16:44 -06:00
Schedulers enable internal imports by default 2024-09-29 20:03:17 -05:00
SecureValueRecovery Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Security Prefer IdentityKey over typeless Data objects 2023-11-07 11:37:02 -06:00
Storage Fully Swiftify StorageServiceManager 2024-11-07 17:32:41 -08:00
StorageService Add & use global.messageQueueTime remote config 2024-10-18 15:07:10 -05:00
Stories Add cancellation support to http requests 2024-11-04 14:16:44 -06:00
Subscriptions move StripeTest into SignalServiceKit tests 2024-03-12 03:35:34 -05:00
TestUtils Reclaim username during registration 2024-01-17 16:59:33 -08:00
Usernames Fully Swiftify StorageServiceManager 2024-11-07 17:32:41 -08:00
Util Add TSMutex to replace UnfairLock 2024-11-15 16:31:03 -05:00
ZkParams Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
SSKBaseTest.swift remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
TSThreadTests.swift Resolve designated initializer warnings in SignalServiceKit 2024-05-28 10:47:15 -04:00
XCTest+Thenable.swift enable internal imports by default 2024-09-29 20:03:17 -05:00