Lines Matching defs:StreamBuffer
23 std::string StreamBuffer;
24 raw_string_ostream OS(StreamBuffer);
33 EXPECT_EQ(PrettyPrintOut, StreamBuffer);
34 StreamBuffer.clear();
36 EXPECT_EQ(NoPrettyPrintOut, StreamBuffer);
40 std::string StreamBuffer;
41 raw_string_ostream OS(StreamBuffer);
47 EXPECT_EQ(R"({"Label":"DictScope"})", StreamBuffer);
48 StreamBuffer.clear();
54 EXPECT_EQ(R"(["ListScope"])", StreamBuffer);
55 StreamBuffer.clear();
60 EXPECT_EQ(R"("NoScope")", StreamBuffer);
65 std::string StreamBuffer;
73 : OS(StreamBuffer), Writer(OS), JSONWriter(OS, /*PrettyPrint=*/true),
81 EXPECT_EQ(Expected.str(), StreamBuffer);
82 StreamBuffer.clear();
91 EXPECT_EQ(Expected.str(), StreamBuffer);
92 StreamBuffer.clear();