Closed maxep closed 5 years ago
Thank you for the contribution. I've commended on one thing since this seems strange to me. I intentionally did use the tones emoji to get composed characters to test for the correct handling of those so this seems like a NSString API issue to me or I do not understand the documentation correctly
@mstarke Thanks for the merge! the testEmojiTokenizing
was not updated yet, do you want me to open a PR for that test?
I've others PRs in the pipe regarding iOS, tvOS and CocoaPods tests!
Upsies for merging prematurely and a big "thank you" for putting effort into making KeePassKit better! Oh and hell yes do open more pull requests!
This PR lets run the test suite on 32bit arch.
Project needs to specify
IPHONEOS_DEPLOYMENT_TARGET = 8.0
to run test on 32bit iOS device (iPhone 4s)KPKOTPGenerator
Converting big endian to host needs to swap Int32 on 32bit arch.
KPKTestPerformance
Test data needs to be cleaned out on
tearDown
to avoid memory issue on devices with limited memory (iPhone 4s)KPKTestTokenStream
Emoji with tone uses 2 chars on 32bit which lead to a token count of 10. I removed the tone from the emoji to let the test pass on 32bit.