beder
|
ceb3533253
|
Suppress gtest warnings on xcode
|
2014-03-24 23:47:46 -05:00 |
|
beder
|
51bdebad5b
|
Add make format target to run clang-format
|
2014-03-24 23:46:03 -05:00 |
|
beder
|
4ba973027e
|
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
|
da0d87af80
|
Add missing DLL export, and set up gtest/gmock to properly import their symbols.
|
2014-03-23 23:56:17 -05:00 |
|
Jesse Beder
|
96b4ac05dc
|
Fix MSVC static/shared library mismatch with gtest.
|
2014-03-23 23:26:02 -05:00 |
|
beder
|
f5bec43e21
|
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
|
5b3af29ede
|
Add clang formatting file
|
2014-03-23 22:07:59 -05:00 |
|
beder
|
6b3c2249d7
|
Fix UTF16 parsing for multi-byte characters
|
2014-03-23 20:24:36 -05:00 |
|
beder
|
a11c70679e
|
clang-format
|
2014-03-23 20:08:54 -05:00 |
|
beder
|
858073c0ff
|
Import encoding test from old-api
|
2014-03-23 18:12:23 -05:00 |
|
beder
|
4e203a79da
|
Converted gen emitter tests to gtest, and removed the old testing framework from core
|
2014-03-23 16:35:26 -05:00 |
|
beder
|
170a6513f1
|
Factored out HandlerTest as a base class
|
2014-03-23 16:26:44 -05:00 |
|
beder
|
403fea083e
|
Factored out mock event handler
|
2014-03-23 16:17:16 -05:00 |
|
beder
|
03b60ead52
|
Fixed uninteresting mock
|
2014-03-23 14:50:58 -05:00 |
|
beder
|
ae3133882a
|
Convert core parser tests to gtest
|
2014-03-23 14:47:30 -05:00 |
|
beder
|
7163c3840b
|
Renamed SpecTest to HandlerSpecTest
|
2014-03-23 14:06:37 -05:00 |
|
beder
|
f6ede9b420
|
Convert spec tests to gtest with gmock
|
2014-03-23 12:49:30 -05:00 |
|
beder
|
44db237754
|
Add gmock as dependency
|
2014-03-23 12:04:03 -05:00 |
|
beder
|
13f0406e07
|
Move EmitterTests to gtest
|
2014-03-23 11:49:32 -05:00 |
|
beder
|
34d7e9473e
|
Add missing include to otream_wrapper
|
2014-03-22 23:21:36 -05:00 |
|
beder
|
6bf81f9fad
|
Add missing include to read.cpp
|
2014-03-22 23:18:27 -05:00 |
|
beder
|
08a5d4c673
|
Run IWYU
|
2014-03-22 22:46:04 -05:00 |
|
beder
|
153d03c6da
|
Add more ostream_wrapper tests
|
2014-03-22 19:22:23 -05:00 |
|
beder
|
4e21961351
|
Fix SEGV in ostream_wrapper
|
2014-03-22 19:15:49 -05:00 |
|
beder
|
eb2110e905
|
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
|
87de9169a0
|
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
|
1069bce879
|
Run clang-format
|
2014-03-22 12:49:16 -05:00 |
|
beder
|
1be77929c6
|
Restrict make-specific targets to only be added with make
|
2013-06-18 08:12:23 -05:00 |
|
Jesse Beder
|
d132767047
|
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
|
fccd818f72
|
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
|
943c20ea6b
|
Fixed parsing ? when attached to a scalar
|
2012-11-08 19:11:41 -06:00 |
|
beder
|
ce9ef5378a
|
Added failing test for parsing a ? at the start of a value
|
2012-11-08 19:00:46 -06:00 |
|
beder
|
e304c57de3
|
Removed that failing test - I don't think the parser is correct here
|
2012-11-08 18:54:53 -06:00 |
|
beder
|
e75083d401
|
Added failing tests for emitter ? at the start of a value
|
2012-11-08 18:52:54 -06:00 |
|
beder
|
a52233e638
|
Renamed all variables named 'null' (for real now, and only that)
|
2012-11-08 18:38:20 -06:00 |
|
beder
|
33d58b9256
|
Reverted last change
|
2012-11-08 18:24:00 -06:00 |
|
beder
|
3af7908b43
|
Renamed all variables named 'null'
|
2012-11-08 18:21:00 -06:00 |
|
beder
|
57b9d04bdf
|
Added small 'read' program to test reading a single doc (from stdin)
|
2012-09-15 16:29:07 -07:00 |
|
beder
|
7e56225c7f
|
Fixed typo in the core parser tests
|
2012-09-15 15:50:44 -07:00 |
|
beder
|
37f6ca659d
|
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
|
cc8f9be883
|
Added extra parser tests for the core; in particular, one that asserts instead of throwing
|
2012-06-09 14:26:44 -05:00 |
|
beder
|
826732d85d
|
Changed Emitter::size() to return std::size_t instead of unsigned
|
2012-05-25 19:38:58 -05:00 |
|
beder
|
dc04850ecc
|
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
|
0a8d7486ff
|
Refactored stream overloads
|
2012-05-25 18:24:07 -05:00 |
|
beder
|
bbce38d36f
|
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
|
c591e8d752
|
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
|
083f37ada2
|
Updated ostream wrapper with a write() and update_pos
|
2012-05-25 17:39:14 -05:00 |
|
beder
|
6d521ac74f
|
Renamed ostream -> ostream_wrapper
|
2012-05-25 17:28:35 -05:00 |
|
beder
|
82e99b262b
|
Added compiler flag to compile the generated tests, since gcc takes *forever* to compile them
|
2012-05-23 15:16:34 -05:00 |
|
beder
|
21df0f9bdb
|
Fixed handler macros to remove warnings in gcc
|
2012-05-23 15:12:36 -05:00 |
|