All tests passed!

This commit is contained in:
Benoit Blanchon
2014-10-30 21:51:59 +01:00
parent 45a8ed6531
commit 889f059758
17 changed files with 91 additions and 69 deletions

View File

@ -12,7 +12,7 @@
using namespace ArduinoJson;
TEST(JsonParser_Nested_Tests, ArrayNestedInObject) {
StaticJsonBuffer<42> jsonBuffer;
StaticJsonBuffer<256> jsonBuffer;
char jsonString[] = " { \"ab\" : [ 1 , 2 ] , \"cd\" : [ 3 , 4 ] } ";
JsonObject &object = jsonBuffer.parseObject(jsonString);
@ -35,7 +35,7 @@ TEST(JsonParser_Nested_Tests, ArrayNestedInObject) {
}
TEST(JsonParser_Nested_Tests, ObjectNestedInArray) {
StaticJsonBuffer<42> jsonBuffer;
StaticJsonBuffer<256> jsonBuffer;
char jsonString[] =
" [ { \"a\" : 1 , \"b\" : 2 } , { \"c\" : 3 , \"d\" : 4 } ] ";