beder
|
191a0e31c5
|
Remove stray log message in cmake
|
2014-03-25 00:04:04 -05:00 |
|
beder
|
64a5f2c5e9
|
Add test and util sources to make format
|
2014-03-25 00:02:16 -05:00 |
|
beder
|
72849cef5f
|
Suppress gtest warnings on xcode
|
2014-03-24 23:47:46 -05:00 |
|
beder
|
8c1ce214d8
|
Add make format target to run clang-format
|
2014-03-24 23:46:03 -05:00 |
|
beder
|
f93dedc2f7
|
Fix clang compiler settings, and properly set up warnings so they don't interfere with gtest and gmock
|
2014-03-24 23:34:26 -05:00 |
|
Jesse Beder
|
e9cb1d8d86
|
Add missing DLL export, and set up gtest/gmock to properly import their symbols.
|
2014-03-23 23:56:17 -05:00 |
|
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 |
|