Logs for the libutf8 1.0.15 tests

Tests started on Thu Jan 26 17:14:15 PST 2023 and finished on Thu Jan 26 17:18:02 PST 2023

Start running libutf8 tests v1.0.15 on Thu Jan 26 17:14:29 PST 2023

libutf8 v1.0.15 [17261]:unittest: seed is 1674782069
source directory: "/home/snapwebsites/snapcpp/contrib/libutf8"
binary directory: "/home/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8/coverage/BUILD"
temporary directory: "/home/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8/tmp"
Randomness seeded to: 737212725
SECTION: bom: Verify the BOM character
SECTION: bom: Verify with a string that's too small
SECTION: bom: Verify the five BOMs as is
SECTION: bom: Verify the five BOMs as is
SECTION: bom: Verify u32string that starts with a BOM (CPU Endianness)
SECTION: case_insensitive: Verify Case Insensitive String Constructors
SECTION: case_insensitive: Verify Case Insensitive String Comparators
SECTION: character_conversions: Verify minimum buffer length for MBS conversions
SECTION: character_conversions: Test UTF-32 to UTF-8 with characters between 0x00 and 0x7F inclusive
SECTION: character_conversions: Test UTF-32 to UTF-8 with characters between 0x80 and 0x7FF inclusive
SECTION: character_conversions: Test UTF-32 to UTF-8 with characters between 0x800 and 0xFFFF inclusive
SECTION: character_conversions: Test UTF-32 to UTF-8 with characters between 0x10000 and 0x10FFFF inclusive
SECTION: character_conversions: Test UTF-32 to UTF-8 with an empty input string
SECTION: invalid_utf32_to_utf8: Verify that surrogates do not work in UTF-8
SECTION: invalid_utf32_to_utf8: Verify that too large a number is not supported
SECTION: invalid_utf8_to_utf32: Verify that surrogates do not work in UTF-8
SECTION: invalid_utf8_to_utf32: Test an invalid UTF-8 sequence (0x80 to 0x7FF)
SECTION: invalid_utf8_to_utf32: Test an invalid UTF-8 sequence (0x800 to 0xFFFF)
SECTION: invalid_utf8_to_utf32: Test UTF-32 to UTF-8 with characters between 0x010000 and 0x110000 inclusive
SECTION: invalid_utf8_to_utf32: Test three random characters, destroy the second one and make sure it gets skipped properly
SECTION: libutf8_iterator: valid iterators tests
SECTION: libutf8_iterator_invalid_string: iterators with invalid characters (bad UTF-8)
SECTION: libutf8_iterator_invalid_string: iterators with invalid characters (too large)
SECTION: json_tokens: valid JSON tokens
SECTION: json_tokens: valid JSON numbers
SECTION: json_tokens: valid JSON special escaped characters
SECTION: json_tokens: valid JSON unicode escaped characters
SECTION: json_tokens_invalid: invalid JSON negative number
SECTION: json_tokens_invalid: invalid JSON number with fraction
SECTION: json_tokens_invalid: invalid JSON number exponent
SECTION: json_tokens_invalid: invalid JSON number with fraction
SECTION: json_tokens_invalid: unsupported JSON backslash character
SECTION: json_tokens_invalid: invalid JSON unicode: too short
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate missing backslash
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate missing 'u'
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate expected
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate too short
SECTION: json_tokens_invalid: invalid JSON unicode: invalid hexadecimal digit (low surrogate)
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate first
SECTION: json_tokens_invalid: invalid JSON unicode: invalid hexadecimal digit
SECTION: json_tokens_invalid: unterminated JSON string
SECTION: json_tokens_invalid: JSON true with missing characters
SECTION: json_tokens_invalid: JSON false with missing characters
SECTION: json_tokens_invalid: JSON null with missing characters
SECTION: json_tokens_invalid: unexpected JSON characters
SECTION: json_tokens_invalid: unexpected '\0' in JSON
SECTION: json_tokens_invalid: unexpected '\0' in JSON string
SECTION: string_length: length of valid Unicode strings
SECTION: invalid_utf16_string_length: invalid UTF-16 returns -1 for length
SECTION: stream: write a char32_t to a stream
SECTION: string_validations: valid ASCII including controls
SECTION: string_validations: valid ASCII excluding controls
SECTION: string_validations: invalid ASCII (extended characters)
SECTION: string_validations: invalid ASCII (controls)
SECTION: string_validations: Valid UTF-8
SECTION: string_validations: invalid UTF-8 (UTF-16 surrogates)
SECTION: string_validations: invalid UTF-8 (invalid code points)
SECTION: string_validations: valid UTF-16 (no surrogates)
SECTION: string_validations: valid UTF-16 (surrogates)
SECTION: string_validations: valid UTF-32
SECTION: string_validations: invalid UTF-32 (UTF-16 surrogates)
SECTION: string_validations: invalid UTF-32 (invalid code points)
SECTION: invalid_string_validations: invalid unicode (UTF-16 surrogates) to UTF-16
SECTION: invalid_string_validations: invalid UTF-16 surrogates
SECTION: string_concatenation: UTF-8 string + char32
SECTION: string_conversions: test conversion strings (0x0001 to 0xFFFD)
SECTION: string_conversions: test conversion strings (0x10000 to 0x110000)
SECTION: invalid_string_conversions: test surrogate string conversion (u8)
SECTION: invalid_string_conversions: test surrogate string conversion (u32)
SECTION: invalid_string_conversions: test conversion strings between 0x110000 and 0xFFFFFFFF
SECTION: invalid_string_conversions: invalid UTF-16 surrogate usage
SECTION: wc_to_string: test wc to u8string conversions between 0 and 0x80
SECTION: wc_to_string: test wc to u8string conversions between 0x80 and 0x800
SECTION: wc_to_string: test wc to u8string conversions between 0x800 and 0x10000
SECTION: wc_to_string: test wc to u8string conversions between 0x10000 and 0x110000
SECTION: invalid_wc_to_string: test wc to u8string conversions between 0x800 and 0x10000
SECTION: invalid_wc_to_string: test wc to u8string conversions between 0x110000 and 0xFFFFFFFF
SECTION: compare_strings: compare UTF-8 strings
SECTION: make_valid: test bad encoding (1 byte when 2 necessary)
SECTION: make_valid: test bad encoding (2 bytes when 3 necessary)
SECTION: make_valid: test bad encoding (3 bytes when 4 necessary)
SECTION: version: verify runtime vs compile time version numbers
===============================================================================
All tests passed (106039706 assertions in 22 test cases)


Finished running libutf8 tests v1.0.15 on Thu Jan 26 17:17:50 PST 2023