Simon Gene Gottlieb
3e53605a31
test: fixes test for NBSP (non-break space)
...
This fixes the example "Example 5.13 Escaped Characters" from the YAML
specification.
The example demands that `\_` is being translated to unicode `\u00a0`.
The unicode codepoint `\u00A0` encoded for utf-8 in hex is `\xC2\xA0`.
Fixing this test case will cause the unit test to not pass, since the
codepoint `\u00A0` is not handled correctly.
(Failing unittest is expected).
2026-02-17 16:19:43 -06:00
Chen
4b98aedc16
Supplement test cases for 2.19 ~ 2.22 schema tags. ( #857 )
...
Add test cases for the event handler for schema tags; does not include test cases for Node because specialized tag handling is not implemented yet.
2020-05-12 13:20:45 -05:00
caryoscelus
eca9cfd648
Add optional OnAnchor method to EventHandler ( #530 )
...
ref #110
2019-03-12 15:24:32 -07:00
Jesse Beder
ad712c4f2d
Add EmitterStyle, which will allow sequence or map style (i.e., flow or block) to be preserved between parsing and emitting
2015-01-24 12:19:20 -06:00
Jesse Beder
fcfd6635b0
Removed unicode control sequence from test, since it's not guaranteed that the source code is UTF-8
2014-03-23 22:25:25 -05:00
Jesse Beder
ebf14ec83a
Factored out HandlerTest as a base class
2014-03-23 16:26:44 -05:00
Jesse Beder
066b71a755
Factored out mock event handler
2014-03-23 16:17:16 -05:00
Jesse Beder
dfa32c7f44
Renamed SpecTest to HandlerSpecTest
2014-03-23 14:06:37 -05:00
Jesse Beder
ace9c49e31
Convert spec tests to gtest with gmock
2014-03-23 12:49:30 -05:00