Signal-iOS/SignalServiceKit/tests/Messages
Michelle Linington 1788e4a4fb Fixes a crash in OWSReceiptManager
Dictionary(uniqueKeysWithValues:) will assert that the provided keys are
unique and crash if a violation occurs. The existing code in
OWSReceiptManager falsely assumes that the addresses being built are
unique.

The keys in the key value store *are* unique, but as they're mapped into
addresses, we may have learned of a high trust e164/UUID mapping since
they were inserted. As the identifiers are mapped into
SignalServiceAddresses, the e164 and UUID are mapped to the same
SignalServiceAddress.

The fix is to just wrap our address builder in a Set() so we only have
one copy for each address.
2021-08-09 21:43:06 -03:00
..
Interactions Fix test imports. 2021-06-07 11:41:43 -04:00
Stickers Fix sticker tests 2021-04-08 14:16:47 -07:00
MessagePipelineSupervisorTest.swift Adds a whole bunch of tests for MessagePipelineSupervisor 2020-07-22 21:10:27 -07:00
MessageProcessingIntegrationTest.swift Refine names. 2021-07-02 22:08:53 -03:00
MessageSendLogTests.swift Fix comment 2021-07-29 20:39:06 -07:00
OWSDisappearingMessageFinderTest.m Trim the MessageSendLog 2021-07-29 15:08:59 -07:00
OWSDisappearingMessagesJobTest.m Fix test imports. 2021-06-07 11:41:43 -04:00
OWSLinkPreviewTest.swift Rework dependency access. 2021-03-25 09:24:27 -03:00
OWSMessageManagerTest.m Fix broken test. 2021-07-13 22:16:32 -03:00
OWSMessageSenderTest.m Fix test imports. 2021-06-07 11:41:43 -04:00
OWSOutgoingReceiptManagerTests.swift Fixes a crash in OWSReceiptManager 2021-08-09 21:43:06 -03:00
OWSSignalAddressTest.swift fixup test typo 2019-10-17 10:43:13 -06:00
OWSUDManagerTest.swift Rework user profile writes. 2021-06-18 13:46:39 -03:00
SignalServiceAddressTest.swift Rework dependency access. 2021-03-25 09:24:27 -03:00
TestProtocolRunnerTest.swift Rework dependency access. 2021-03-25 09:24:27 -03:00