Commit Graph
53 Commits
Author SHA1 Message Date
Benoit Blanchon 6330ab1271 Test that JsonObject can contain inner arrays 2014-10-05 15:15:25 +02:00
Benoit Blanchon c35a0fadc3 Test that JsonArray can contain inner objects 2014-10-05 15:14:29 +02:00
Benoit Blanchon bbe034222c Test that JsonArray can contain inner arrays 2014-10-05 15:13:00 +02:00
Benoit Blanchon 305944e907 Test that JsonArray can store strings 2014-10-05 15:04:44 +02:00
Benoit Blanchon f0754aed53 Test that JsonArray can store booleans 2014-10-05 15:04:17 +02:00
Benoit Blanchon 99a785179d Test that JsonArray can contain doubles 2014-10-05 15:02:40 +02:00
Benoit Blanchon 21259bc61a Test that JsonArray can store integers 2014-10-05 14:55:14 +02:00
Benoit Blanchon 4c67d0579a Test that JsonArray grows after calling add() 2014-10-05 14:48:19 +02:00
Benoit Blanchon cb3c59ec07 Added JsonArray 2014-10-05 14:40:03 +02:00
Benoit Blanchon 4d2d535a03 Pulled up code from JsonObject to JsonContainer 2014-10-01 16:56:22 +02:00
Benoit Blanchon d66a7adc22 Moved files into Internals/ and Arduino/ 2014-10-01 16:08:32 +02:00
Benoit Blanchon 1a98fd5dfc Serialize inner objects 2014-10-01 15:47:32 +02:00
Benoit Blanchon a665fa1dec Converted StringBuilder tests to gtest 2014-09-30 18:07:08 +02:00
Benoit Blanchon 78048d1d92 Converted EscapedString tests to gtest 2014-09-30 18:03:17 +02:00
Benoit Blanchon 065fe57a7c Serialize booleans in objects 2014-09-30 17:56:28 +02:00
Benoit Blanchon f251563af1 Serialize floats in objects 2014-09-30 17:32:45 +02:00
Benoit Blanchon c1ab55f9d9 Serialize integer values in object 2014-09-30 17:24:14 +02:00
Benoit Blanchon 27a4d57f7c Test that now value can be added when all nodes are allocated 2014-09-30 17:14:59 +02:00
Benoit Blanchon 22e36bbe9c Restored tests from previous test suite 2014-09-30 17:08:59 +02:00
Benoit Blanchon d2e1b241be Test that size doesn't change when remove() is called with an invalid key 2014-09-30 17:07:29 +02:00
Benoit Blanchon 3d9e40a3a8 Test that the size is decreased when object are removed 2014-09-30 17:05:33 +02:00
Benoit Blanchon 9f85368cce Test serialization of an object with strings 2014-09-30 16:59:44 +02:00
Benoit Blanchon 3243f2dc58 Implement Printable 2014-09-30 16:43:25 +02:00
Benoit Blanchon 6b2705769a Refactored to use StringBuilder 2014-09-30 16:40:00 +02:00
Benoit Blanchon ab2587f089 Test empty object serialization 2014-09-30 16:31:22 +02:00
Benoit Blanchon d3cf568d07 Test that char* are copied 2014-09-28 21:35:08 +02:00
Benoit Blanchon e417c137fc Test that bool values are copied 2014-09-28 21:23:40 +02:00
Benoit Blanchon d549070fd3 Test that doubles in JsonValue are copied 2014-09-28 21:22:20 +02:00
Benoit Blanchon 42ce5ab31f Test that integers in JsonValue are copied 2014-09-28 21:18:43 +02:00
Benoit Blanchon bc44c36385 Test that nested JsonObject can be stored 2014-09-27 16:18:40 +02:00
Benoit Blanchon a9a51ec1e2 Test that string can be stored in JsonObject 2014-09-27 15:24:16 +02:00
Benoit Blanchon 0495297c6c Group test in a test fixture 2014-09-27 15:19:03 +02:00
Benoit Blanchon 75588946c6 Test that boolean values can be stored in a JsonObject 2014-09-27 15:04:06 +02:00
Benoit Blanchon 5fa446d3f5 Test that a double can be stored in a JsonObject 2014-09-27 14:59:02 +02:00
Benoit Blanchon 71fd2de675 Test that integers can be stored in a JsonObject 2014-09-27 14:51:50 +02:00
Benoit Blanchon a2fc188526 Test that adding the same value twice doesn't increase the size of the object 2014-09-27 14:43:19 +02:00
Benoit Blanchon 166bdd6919 Test that adding values to the JsonObject increase the size of the buffer 2014-09-27 12:16:53 +02:00
Benoit Blanchon 4d4119e589 Test that JsonObject.size() is increased when values are added 2014-09-27 11:53:26 +02:00
Benoit Blanchon 91649df593 Test that CreateObject() returns an empty JsonObject 2014-09-27 11:42:27 +02:00
Benoit Blanchon 890e811e80 Test that size can't go above capacity 2014-09-27 11:33:45 +02:00
Benoit Blanchon bb887f94e7 Test size() after calling CreateObject 2014-09-27 10:16:30 +02:00
Benoit Blanchon 6e45f7c790 Test initial size of StaticJsonB 2014-09-27 09:58:34 +02:00
Benoit Blanchon 5580adb4a6 Added first test on StaticJsonBuffer 2014-09-27 09:56:53 +02:00
Benoit Blanchon 60a5d72367 Started a new solution from scratch.
Added Google test
2014-09-24 11:41:19 +02:00
Benoit Blanchon 3d8b31b1ec Moved all JsonParser code in a sub-folder. 2014-06-24 13:14:07 +02:00
Benoit Blanchon 2ed6317135 Added more test on arrays 2014-02-27 13:20:49 +01:00
Benoit Blanchon a278cd825f Added unit tests for invalid arrays 2014-02-27 13:12:52 +01:00
Benoit Blanchon b35095ded1 Added unit tests on multi-dimensional arrays to isolate the bug 2014-02-27 13:03:25 +01:00
Benoit Blanchon 597b4c7888 Added unit tests for all members of the gbathree JSON string 2014-02-27 12:48:06 +01:00
Benoit Blanchon 995aa7dd40 Added unit tests of sample string given by gbatree 2014-02-26 22:29:20 +01:00