[WIP] autotests: Introduce TermGeneratorTestUTF
Needs ReviewPublic

Authored by michaelh on Mar 22 2018, 8:12 PM.

Details

Reviewers
None
Group Reviewers
Baloo
Frameworks
Summary

This test is essentially a duplication of TermGeneratorTest which could not be extended by chinese characters due to its iso-8859-15 encoding.
After conversion to utf-8 arc recognized termgeneratortest.cpp as a binary file.

Diff Detail

Repository
R293 Baloo
Branch
termgeneratortest (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
michaelh created this revision.Mar 22 2018, 8:12 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptMar 22 2018, 8:12 PM
michaelh requested review of this revision.Mar 22 2018, 8:12 PM
michaelh updated this revision to Diff 30336.Mar 23 2018, 5:05 PM
michaelh edited the summary of this revision. (Show Details)
  • termgeneratortestutf: Add Korean
  • termgeneratortestutf: Add Chinese+Latin mix
  • Reenable ligature test
michaelh updated this revision to Diff 30407.Mar 24 2018, 4:23 PM
  • Test position info
michaelh edited the summary of this revision. (Show Details)Apr 14 2018, 12:06 PM
michaelh added a subscriber: bruns.

@bruns: autotests/unit/engine/queryparsertest.cpp and autotests/unit/engine/termgeneratortest.cpp are encoded with iso-8859-15. Maybe you're able to convert them to utf-8. Even with a lot of help I couldn't.
Please give it a try, because it's better to extend the existing test files. But currently they do not accept chinese characters.

Restricted Application added a subscriber: kde-frameworks-devel. · View Herald TranscriptJun 12 2019, 2:33 AM
bruns added a comment.Jun 12 2019, 7:35 AM

queryparsertest.cpp and termgeneratortest.cpp no longer contain iso8859-* sequences, but only escaped UTF-8 sequences, see D17161