Lines Matching refs:str
95 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F()
113 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
114 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F()
124 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F()
127 std::string::npos) << oss.str(); in TEST_F()
128 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
130 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F()
132 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", i + 1)), in TEST_F()
133 std::string::npos) << oss.str(); in TEST_F()
143 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
153 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F()
155 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F()
157 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", 10 - i - 1)), in TEST_F()
158 std::string::npos) << oss.str(); in TEST_F()
169 EXPECT_NE(oss.str().find("java.lang.ref.WeakReference (referent is null)"), std::string::npos) in TEST_F()
170 << oss.str(); in TEST_F()
182 EXPECT_NE(oss.str().find("java.lang.ref.WeakReference (referent is a java.lang.String)"), in TEST_F()
184 << oss.str(); in TEST_F()
250 std::string str = oss.str(); in TEST_F() local
251 bool found = std::regex_search(str, stack_trace_match, stack_trace_regex); in TEST_F()
252 EXPECT_TRUE(found) << str; in TEST_F()
314 std::string base = oss.str(); in TEST_F()