MCPcopy Create free account
hub / github.com/Tencent/rapidjson / TEST

Function TEST

test/unittest/stringbuffertest.cpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24using namespace rapidjson;
25
26TEST(StringBuffer, InitialSize) {
27 StringBuffer buffer;
28 EXPECT_EQ(0u, buffer.GetSize());
29 EXPECT_STREQ("", buffer.GetString());
30}
31
32TEST(StringBuffer, Put) {
33 StringBuffer buffer;

Callers

nothing calls this directly

Calls 6

GetSizeMethod · 0.80
PutNFunction · 0.50
PutMethod · 0.45
ClearMethod · 0.45
PushMethod · 0.45
PopMethod · 0.45

Tested by

no test coverage detected