Jesse Beder
|
5a004d5ed1
|
Fix MSVC static/shared library mismatch with gtest.
|
2014-03-23 23:26:02 -05:00 |
|
beder
|
84eb04ed0a
|
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 |
|
beder
|
0883e65592
|
Add clang formatting file
|
2014-03-23 22:07:59 -05:00 |
|
beder
|
219ebdd0d4
|
Fix UTF16 parsing for multi-byte characters
|
2014-03-23 20:24:36 -05:00 |
|
beder
|
4e3221bb13
|
clang-format
|
2014-03-23 20:08:54 -05:00 |
|
beder
|
af9838ff12
|
Import encoding test from old-api
|
2014-03-23 18:12:23 -05:00 |
|
beder
|
7147cdfccb
|
Converted gen emitter tests to gtest, and removed the old testing framework from core
|
2014-03-23 16:35:26 -05:00 |
|
beder
|
62da72257f
|
Factored out HandlerTest as a base class
|
2014-03-23 16:26:44 -05:00 |
|
beder
|
997eee2536
|
Factored out mock event handler
|
2014-03-23 16:17:16 -05:00 |
|
beder
|
3e51b9679e
|
Fixed uninteresting mock
|
2014-03-23 14:50:58 -05:00 |
|
beder
|
de966f98a3
|
Convert core parser tests to gtest
|
2014-03-23 14:47:30 -05:00 |
|
beder
|
8d3d857a01
|
Renamed SpecTest to HandlerSpecTest
|
2014-03-23 14:06:37 -05:00 |
|
beder
|
bffe9aeb2b
|
Convert spec tests to gtest with gmock
|
2014-03-23 12:49:30 -05:00 |
|
beder
|
765579991b
|
Add gmock as dependency
|
2014-03-23 12:04:03 -05:00 |
|
beder
|
778f6f8102
|
Move EmitterTests to gtest
|
2014-03-23 11:49:32 -05:00 |
|
beder
|
ade8482d06
|
Add missing include to otream_wrapper
|
2014-03-22 23:21:36 -05:00 |
|
beder
|
6b171a7402
|
Add missing include to read.cpp
|
2014-03-22 23:18:27 -05:00 |
|
beder
|
9154ad2e6f
|
Run IWYU
|
2014-03-22 22:46:04 -05:00 |
|
beder
|
376a1dc678
|
Add more ostream_wrapper tests
|
2014-03-22 19:22:23 -05:00 |
|
beder
|
5e2aec5b81
|
Fix SEGV in ostream_wrapper
|
2014-03-22 19:15:49 -05:00 |
|
beder
|
1444e73acd
|
Add gtest, as separate set of tests (that just follow the ad-hoc tests that already exist)
|
2014-03-22 19:06:46 -05:00 |
|
beder
|
6c59cb85aa
|
Rename regex.h and regex.cpp to regex_yaml, so they don't interfere with the posix variant
|
2014-03-22 19:03:49 -05:00 |
|
beder
|
91a8fbda5b
|
Run clang-format
|
2014-03-22 12:49:16 -05:00 |
|
beder
|
4218345d59
|
Restrict make-specific targets to only be added with make
|
2013-06-18 08:12:23 -05:00 |
|
Jesse Beder
|
84ce5b2258
|
Fix bug where the string "null" (without quotes) is deserialized as a string, instead of null.
|
2013-04-13 18:21:06 -05:00 |
|
Jesse Beder
|
36c6fa006a
|
Switch default precision to one more than the number of digits allows.
See, e.g., http://stackoverflow.com/questions/4738768/printing-double-without-losing-precision.
|
2013-04-13 00:00:58 -05:00 |
|
beder
|
b201feab96
|
Fixed parsing ? when attached to a scalar
|
2012-11-08 19:11:41 -06:00 |
|
beder
|
365107947e
|
Added failing test for parsing a ? at the start of a value
|
2012-11-08 19:00:46 -06:00 |
|
beder
|
a6486cf176
|
Removed that failing test - I don't think the parser is correct here
|
2012-11-08 18:54:53 -06:00 |
|
beder
|
761fe22bf1
|
Added failing tests for emitter ? at the start of a value
|
2012-11-08 18:52:54 -06:00 |
|
beder
|
72ecb3e586
|
Renamed all variables named 'null' (for real now, and only that)
|
2012-11-08 18:38:20 -06:00 |
|
beder
|
5e952a2b9c
|
Reverted last change
|
2012-11-08 18:24:00 -06:00 |
|
beder
|
c0b7359d7d
|
Renamed all variables named 'null'
|
2012-11-08 18:21:00 -06:00 |
|
beder
|
b43bf996d4
|
Added small 'read' program to test reading a single doc (from stdin)
|
2012-09-15 16:29:07 -07:00 |
|
beder
|
4493885343
|
Fixed typo in the core parser tests
|
2012-09-15 15:50:44 -07:00 |
|
beder
|
9bbf43b23e
|
Fixed bug where the parser doesn't find the end of a map or seq flow
|
2012-06-09 14:39:00 -05:00 |
|
beder
|
3e2b4a3dd4
|
Added extra parser tests for the core; in particular, one that asserts instead of throwing
|
2012-06-09 14:26:44 -05:00 |
|
beder
|
a42a10b7a7
|
Changed Emitter::size() to return std::size_t instead of unsigned
|
2012-05-25 19:38:58 -05:00 |
|
beder
|
64e5d74cc9
|
Switched the stream << for c-strings to take a templated array param (since we never stream user-built c-strings, only string literals). For this, refactored the escape character display
|
2012-05-25 19:33:34 -05:00 |
|
beder
|
6633fea749
|
Refactored stream overloads
|
2012-05-25 18:24:07 -05:00 |
|
beder
|
c3facc9b58
|
Added constructor to the Emitter with a stream, so you can write directly to a stream instead of our temp
|
2012-05-25 18:22:33 -05:00 |
|
beder
|
7c436de457
|
Switched the ostream wrapper to wrap a std::vector<char> instead of our manually managed memory
|
2012-05-25 18:17:14 -05:00 |
|
beder
|
bfa3cce38d
|
Updated ostream wrapper with a write() and update_pos
|
2012-05-25 17:39:14 -05:00 |
|
beder
|
c212377371
|
Renamed ostream -> ostream_wrapper
|
2012-05-25 17:28:35 -05:00 |
|
beder
|
a5a02dc42a
|
Added compiler flag to compile the generated tests, since gcc takes *forever* to compile them
|
2012-05-23 15:16:34 -05:00 |
|
beder
|
d44b22eccd
|
Fixed handler macros to remove warnings in gcc
|
2012-05-23 15:12:36 -05:00 |
|
beder
|
d15044f952
|
Added seq/map gen emitter tests
|
2012-05-23 11:20:36 -05:00 |
|
beder
|
bb9c9adcd7
|
Fixed map/comment/seq emitting
|
2012-05-23 11:18:53 -05:00 |
|
beder
|
686d48c8f6
|
Added map/seq gen emitter tests, including some failing ones
|
2012-05-23 11:16:32 -05:00 |
|
beder
|
2c60765369
|
Added seq gen emitter tests
|
2012-05-23 11:11:50 -05:00 |
|