Page MenuHomePhabricator

Remove UTF8 BMP unit test and replace it with a general UTF8 test
ClosedPublic

Authored by epriestley on Oct 2 2014, 3:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 25, 12:12 PM
Unknown Object (File)
Wed, May 21, 2:59 AM
Unknown Object (File)
Tue, May 20, 8:36 AM
Unknown Object (File)
Apr 19 2025, 12:27 PM
Unknown Object (File)
Apr 17 2025, 11:57 PM
Unknown Object (File)
Apr 16 2025, 4:45 PM
Unknown Object (File)
Apr 16 2025, 8:04 AM
Unknown Object (File)
Apr 15 2025, 10:21 PM
Subscribers

Details

Summary

Ref T1191. After utf8mb4 conversion, these tests no longer pass because MySQL allows emoji and gclefs and such.

We could keep these tests running by keeping a ut8f_bin table around somewhere, but we have no other use cases for it and it does not seem worth the added complexity. All these BMP-only codepaths are on the way out.

Update the %s / %B test to make sure it's rejecting invalid byte sequences, which are still not permitted.

Test Plan

Tests now pass.

Diff Detail

Repository
rP Phabricator
Branch
utf3
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2719
Build 2723: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Remove UTF8 BMP unit test and replace it with a general UTF8 test.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Oct 2 2014, 4:38 PM
This revision was automatically updated to reflect the committed changes.