Commit Graph

17 Commits

Author SHA1 Message Date
jbeder
816d7ec833 Added a bunch of tests, simplified the testing code 2009-10-20 14:43:24 +00:00
jbeder
564b0d4d52 Modified old gcc version patch so it still uses the new Node::Read in Visual Studio. Also broke up the \uNNNN characters in the spec tests into \xNN-type strings. 2009-09-16 05:31:28 +00:00
jbeder
cf07fb3712 More tests, found bug in implicit keys in flow sequence 2009-09-08 05:35:39 +00:00
jbeder
633aa1a801 Tests through 6.29, skipping directives and tags 2009-09-08 04:16:45 +00:00
jbeder
740bf19023 (Actually) fixed the folding newline bug, but it's a bit messy, and we don't accurately make the distinction between block folding and flow folding 2009-09-07 23:29:04 +00:00
jbeder
71c99f27af Simplified testing output 2009-09-07 22:17:02 +00:00
jbeder
074283dc4b Fixed bugs with tab as non-content whitespace 2009-09-07 17:12:45 +00:00
jbeder
7a80506a91 Fixed bugs in escape characters (both parsing and emitting) 2009-09-07 16:31:23 +00:00
jbeder
73d60b1b22 Fixed error in test 2009-09-07 06:56:05 +00:00
jbeder
e1d3109bd7 Fixed last newline of folded scalar bug 2009-09-07 06:54:38 +00:00
jbeder
4e0e37cdd7 Added spec tests (minus tags, directives, and BOM) up through example 5.12 - this exposed an error in line folding 2009-09-07 06:35:37 +00:00
jbeder
51a8e0d8b8 Added spec tests through example 2.13 2009-09-06 22:17:53 +00:00
jbeder
223177db90 Fixed bug with complex keys (and simplified the parsing for flow maps) 2009-09-06 21:52:56 +00:00
jbeder
a258030d6d Refactored the operator >> and Node::Read default functions, as well as the conversion functions, to more easily read new types as keys (this uncovered an error, in example 2.11 of the spec) 2009-09-06 20:52:45 +00:00
jbeder
ec438c6e98 Added spec tests through 2.10 2009-09-06 17:02:24 +00:00
jbeder
6b70894903 Added templated casting to nodes, as well as operator == and != (for quick checks, especially to help in testing). Implemented size() on a map node to return the number of key/value pairs (as in std::map) 2009-09-06 15:54:11 +00:00
jbeder
b34e2991e5 Started implementing spec tests 2009-09-03 14:27:03 +00:00