Blender Git Commit Log

Git Commits -> Revision acbb84b

Revision acbb84b by Bastien Montagne (master)
December 31, 2016, 15:10 (GMT)
Add BLI_string_utf8 specific test.

This test should ensure we correctly detect all invalid utf-8 sequences in a given string.

DISCLAIMER:
Do not run this with current code - you'll either laugh or cry, nearly *all* checks fail!

Based on utf-8 decoder stress-test (https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt)
by Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> - 2015-08-28 - CC BY 4.0

Commit Details:

Full Hash: acbb84b021a145ee2dde73ec5923990f42fc18fb
Parent Commit: bf7d7bc
Lines Changed: +305, -0

1 Added Path:

/tests/gtests/blenlib/BLI_string_utf8_test.cc (+304, -0) (View)

1 Modified Path:

/tests/gtests/blenlib/CMakeLists.txt (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021