Commit Graph

13 Commits

Author SHA1 Message Date
Benoit Blanchon
2524a00a96 Fixed segmentation fault in DynamicJsonBuffer when memory allocation fails (issue #92) 2015-08-01 16:31:59 +02:00
Benoit Blanchon
bfe60243a4 Fixed issue #65 2015-04-18 15:37:15 +02:00
Benoit Blanchon
5e5f060fc0 Updated copyright for 2015 2015-02-07 16:05:48 +01:00
Benoit Blanchon
8560583ee7 Fixed GCC warning 2014-12-21 10:52:30 +01:00
Benoit Blanchon
2932c4ee43 Removed std::nothrow because it's not supported in Arduino 2014-12-21 10:46:32 +01:00
Benoit Blanchon
c726506b47 Added std::nothrow 2014-12-20 15:15:41 +01:00
Benoit Blanchon
13e907c894 Test that DynamicJsonBuffer.size() is the sum of all blocks 2014-12-13 21:02:42 +01:00
Benoit Blanchon
d19a34152f Test that DynamicJsonBuffer.blockCount() increases as expected 2014-12-13 20:52:59 +01:00
Benoit Blanchon
19cce08b2b Test initial value of DynamicJsonBuffer.blockCount() 2014-12-13 20:22:52 +01:00
Benoit Blanchon
3cd6f66067 Test that DynamicJsonBuffer can't alloc more than BLOCK_CAPACITY 2014-12-13 10:13:24 +01:00
Benoit Blanchon
ada588c112 Test that DynamicJsonBuffer returns a different pointer after each alloc() 2014-12-13 10:03:01 +01:00
Benoit Blanchon
0d57fe5a7e Test that DynamicJsonBuffer grows after each alloc 2014-12-13 09:54:04 +01:00
Benoit Blanchon
5a74beb7e2 Test initial size() of DynamicJsonBuffer 2014-12-11 21:05:45 +01:00