Signal-iOS/Signal/test/util
Harry 224e5a7c6b
Parse text formatting styles in MessageBody
* add deserialization test for MessageBodyRanges

* Add style ranges to MessageBodyText

* add deserialization tests and fix small other test

* add basic mention hydration tests

* Add RTL support for @mention hydration

* Add a test with accents for unicode shenanigans

* unique-ify TODOs

* Add emoji test and fix implementation to account for multi-point unicode that is captured in NSString.length but not String.count

* Add more TODOs for text formatting

* Collapse style ranges on init

* Handle mention overlaps on MessageBodyRanges init

* add tests, update existing tests, fix bugs

* Update v2 deserialization test; the meaning of Style raw values has changed

* comment nit
2023-04-04 12:46:09 -07:00
..
DeviceTransfer Use LibSignalClient for Device Transfer certs 2023-02-13 14:16:18 -08:00
FTS Add contacts' usernames to ContactRecord, if nothing better available 2023-02-14 13:42:53 -08:00
APNSRotationStoreTest.swift Only mark APNS tokens as , preventing rotation, for up to 60 days 2023-02-28 15:52:21 -08:00
ASWebAuthenticationSessionUtilTest.swift Support 3D Secure for card donations 2022-11-29 16:07:44 -06:00
BatchUpdateTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ByteParserTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
CreditAndDebitCardsTest.swift Change CVV placeholder for Amex cards 2022-11-23 11:02:35 -08:00
DateUtilTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
DisplayableTextFilterTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
EmojiTests.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ExceptionsTest.h Change license to AGPL 2022-10-13 08:25:37 -05:00
FunctionalUtilTest.m Swiftify a few phone number utility methods 2022-12-07 08:32:24 -06:00
GRDBFinderTest.swift Clean up SignalRecipient create & fetch APIs 2023-03-29 18:40:05 -07:00
GroupAndContactStreamTest.swift Clean up SignalRecipient create & fetch APIs 2023-03-29 18:40:05 -07:00
MiscTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSOrphanDataCleanerTest.m Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSScrubbingLogFormatterTest.swift Rewrite debug log scrubbing logic in Swift 2023-02-28 15:55:00 -06:00
QRCodeParserTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalMeTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
StorySharingTests.swift Parse text formatting styles in MessageBody 2023-04-04 12:46:09 -07:00
StringAdditionsTest.swift Move SignalServiceKit string tests to correct file 2022-11-07 14:31:15 -08:00
UserProfileTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
UtilTest.h Change license to AGPL 2022-10-13 08:25:37 -05:00
UtilTest.m Remove redundant digitsOnly test 2022-11-11 14:25:45 -06:00