Pulled up code from JsonObject to JsonContainer

This commit is contained in:
Benoit Blanchon
2014-10-01 16:56:22 +02:00
parent b0e43f7538
commit 4d2d535a03
9 changed files with 138 additions and 53 deletions

View File

@ -14,6 +14,11 @@ protected:
JsonObject object;
};
TEST_F(JsonObjectTests, InitialSizeIsZero)
{
EXPECT_EQ(0, object.size());
}
TEST_F(JsonObjectTests, Grow_WhenValuesAreAdded)
{
object["hello"];