[wp-trac] [WordPress Trac] #30455: Make the Big5 unit tests works

WordPress Trac noreply at wordpress.org
Sat Nov 22 17:02:58 UTC 2014


#30455: Make the Big5 unit tests works
--------------------------+-----------------------------
 Reporter:  akumria       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The current Big5 unittests are marked as "Incomplete".

 The listed reason was that no assertions were made.

 The following patches:
  - fix some whitespace issues
  - load the test data
  - test against that data (i.e. does some assertions)

 I have also attached an updated big5.txt files:
  - the original was *NOT* in Big5
  - this is from Wikipedia (https://en.wikipedia.org/wiki/Big5)
  - specifically
 http://ftp.isu.edu.tw/pub/Windows/Chinese/font/chinasea/csw10_exp.txt
  - I have removed the majority of that file and reduced the number of
 strings to 5 (to match the number in
 tests/phpunit/data/formatting/utf-8/utf-8.txt)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30455>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list