miloyip
8d39282af5
Update license headers for tests
2015-04-18 21:41:38 +08:00
miloyip
3675b33a2a
Search more paths for different build situations
2015-04-14 10:35:45 +08:00
miloyip
bff588e665
Typo
2015-04-14 09:50:22 +08:00
miloyip
5dde9ae45e
Cover MemoryPoolAllocator::Capacity()
2015-04-14 09:49:55 +08:00
miloyip
985971a563
Fix gcc/clang compilation
2015-04-13 22:46:09 +08:00
Milo Yip
3bc95ecd7c
Add coverage for Document::ParseXXX()
2015-04-13 22:04:00 +08:00
Milo Yip
fb4f321d82
Fix another -Wfloat-equal warning
2015-04-10 23:10:08 +08:00
Milo Yip
b8cc02e0aa
Try to fix a compilation error on gcc/clang
2015-04-03 11:35:32 +08:00
Milo Yip
2d920e7e0f
Add user buffer unit test
2015-04-03 11:25:19 +08:00
unknown
63ad11c367
add support for AppVeyor
CI for checking Windows builds
2015-02-17 10:42:43 +01:00
Milo Yip
24dd7ef839
Merge branch 'movetestleak'
2015-01-14 23:03:04 +08:00
Milo Yip
7c47cd3498
Remove 2 unit tests which make memory leaks
2015-01-14 23:02:29 +08:00
Milo Yip
24563b28fb
Correct Value(kStringType) and more assertions
2015-01-13 23:49:53 +08:00
Milo Yip
c8bed6b8cc
Fix compilation errors in unit tests for VC
2014-11-23 08:38:48 +08:00
Drew Noakes
6aa664eeef
Document traits of types using <type_traits> and static_assert in tests.
...
The tests state the current traits of types Document, Value and
StringBuffer. There are slight differences between them. It seems like a
good idea to extend this approach across more types, and to review the
expected traits across the board.
2014-10-31 11:00:57 +00:00
Philipp A. Hartmann
1a31767dcf
DocumentMove tests: compiler error due to -Wsign-compare
...
On GCC 4.9, the documenttest.cpp fails to compile in C++11 mode,
as the MoveConstructor/Assignment tests contain left-over
comparisons between signed and unsigned expressions.
2014-10-30 19:23:57 +01:00
ecorm
fd12dcb3db
Added MemoryPoolAllocator to GenericDocument moveunit tests. Added comment in GenericDocument move assignment operator explaining why the static_cast is needed to move the base class.
2014-10-24 14:05:32 -03:00
ecorm
cb33f910c3
Merge branch 'master' into issue123movesupport
2014-10-24 03:11:34 -03:00
ecorm
02f3b00ee6
Implemented C++11 move semantics for GenericDocument
2014-10-24 02:51:17 -03:00
Zhihao Yuan
7303d92990
Disambiguate GenericValue's [0] and ["string"]
2014-10-23 21:50:39 -04:00
Milo Yip
d6513e251c
Fix a gcc compilation error
2014-08-17 18:55:36 +08:00
Milo Yip
941aa93f45
Separate Document's value and stack allocator.
...
Use CrtAllocator for stack.
ShrinkToFit stack after parsing.
2014-08-17 18:33:47 +08:00
Milo Yip
0dbcc1cf2e
Add license and change indents from tab to space.
2014-08-11 22:26:45 +08:00
Milo Yip
469333af8f
Fixes filename cases in source code
2014-07-04 17:03:58 +08:00
Milo Yip
0bff4ffd0c
Adds unit tests about streams.
2014-07-04 16:39:09 +08:00
Milo Yip
b01093b16c
Fixes a compilation error in Reader when using encoded stream.
...
Added unit test for parsing EncodedStream to Document.
2014-07-04 14:32:44 +08:00
Milo Yip
9ed11d29a2
Safer implementation of Swap()
...
Also added documentation, unit tests for swapping Document/Value,
Document/Document.
2014-07-04 00:59:16 +08:00
Milo Yip
1d14748bc9
Added overloaded functions for default parseFlags
...
Can write d.Parse(...) instead of d.Parse<0>(...)
Hope to reduce strangeness and confusion for beginner.
2014-06-29 15:03:38 +08:00
miloyip@gmail.com
9fb77b114b
Fixed Issue 22 memory corruption via operator =
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@74 c5894555-1306-4e8d-425f-1f6f381ee07c
2012-11-14 02:44:45 +00:00
miloyip@gmail.com
9c68ce986e
Fixed a lots of vc2008/vs2010 and gcc3/4 warnings with the maximum warning level.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@67 c5894555-1306-4e8d-425f-1f6f381ee07c
2012-11-13 08:02:22 +00:00
miloyip@gmail.com
821c6ab73c
Fixed Issue 44 SetStringRaw doesn't work with wchar_t
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@65 c5894555-1306-4e8d-425f-1f6f381ee07c
2012-11-13 02:58:56 +00:00
miloyip@gmail.com
99de5312e6
Separated platform related performance tests from rapidjsontest
...
Added multiple platform specific file I/O performance tests
Added CheckSum() in platform test as baseline of parsing speed, which should be more appropriate than strlen().
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@26 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 05:07:29 +00:00
miloyip@gmail.com
8f8e905306
Initial version (0.1)
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@2 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-18 17:01:23 +00:00