Home | History | Annotate | Download | only in runtime

Lines Matching defs:oss

34     std::ostringstream oss;
35 rt.Dump(oss);
36 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str();
52 std::ostringstream oss;
53 rt.Dump(oss);
54 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str();
55 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str();
63 std::ostringstream oss;
64 rt.Dump(oss);
65 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):",
68 std::string::npos) << oss.str();
69 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str();
71 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str();
73 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", i + 1)),
74 std::string::npos) << oss.str();
82 std::ostringstream oss;
83 rt.Dump(oss);
84 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str();
91 std::ostringstream oss;
92 rt.Dump(oss);
94 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str();
96 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str();
98 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", 10 - i - 1)),
99 std::string::npos) << oss.str();