Lines Matching refs:expected

58   std::string expected = android::base::StringPrintf("B|%d|fake_name", getpid());  in TEST_F()  local
59 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
63 std::string expected = android::base::StringPrintf("B|%d|", getpid()); in TEST_F() local
64 std::string name = MakeName(ATRACE_MESSAGE_LENGTH - expected.length() - 1); in TEST_F()
72 expected += name; in TEST_F()
73 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
82 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
86 std::string expected = android::base::StringPrintf("B|%d|", getpid()); in TEST_F() local
95 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 1; in TEST_F()
96 expected += android::base::StringPrintf("%.*s", expected_len, name.c_str()); in TEST_F()
97 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
107 std::string expected = android::base::StringPrintf("S|%d|fake_name|12345", getpid()); in TEST_F() local
108 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
112 std::string expected = android::base::StringPrintf("S|%d|", getpid()); in TEST_F() local
113 std::string name = MakeName(ATRACE_MESSAGE_LENGTH - expected.length() - 7); in TEST_F()
121 expected += name + "|12345"; in TEST_F()
122 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
131 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
135 std::string expected = android::base::StringPrintf("S|%d|", getpid()); in TEST_F() local
144 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 7; in TEST_F()
145 expected += android::base::StringPrintf("%.*s|12345", expected_len, name.c_str()); in TEST_F()
146 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
156 std::string expected = android::base::StringPrintf("F|%d|fake_name|12345", getpid()); in TEST_F() local
157 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
161 std::string expected = android::base::StringPrintf("F|%d|", getpid()); in TEST_F() local
162 std::string name = MakeName(ATRACE_MESSAGE_LENGTH - expected.length() - 7); in TEST_F()
170 expected += name + "|12345"; in TEST_F()
171 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
180 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
184 std::string expected = android::base::StringPrintf("F|%d|", getpid()); in TEST_F() local
193 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 7; in TEST_F()
194 expected += android::base::StringPrintf("%.*s|12345", expected_len, name.c_str()); in TEST_F()
195 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
205 std::string expected = android::base::StringPrintf("C|%d|fake_name|12345", getpid()); in TEST_F() local
206 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
210 std::string expected = android::base::StringPrintf("C|%d|", getpid()); in TEST_F() local
211 std::string name = MakeName(ATRACE_MESSAGE_LENGTH - expected.length() - 7); in TEST_F()
219 expected += name + "|12345"; in TEST_F()
220 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
229 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
233 std::string expected = android::base::StringPrintf("C|%d|", getpid()); in TEST_F() local
242 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 7; in TEST_F()
243 expected += android::base::StringPrintf("%.*s|12345", expected_len, name.c_str()); in TEST_F()
244 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
254 std::string expected = android::base::StringPrintf("C|%d|fake_name|17179869183", getpid()); in TEST_F() local
255 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
259 std::string expected = android::base::StringPrintf("C|%d|", getpid()); in TEST_F() local
260 std::string name = MakeName(ATRACE_MESSAGE_LENGTH - expected.length() - 13); in TEST_F()
268 expected += name + "|17179869183"; in TEST_F()
269 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
278 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
282 std::string expected = android::base::StringPrintf("C|%d|", getpid()); in TEST_F() local
291 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 13; in TEST_F()
292 expected += android::base::StringPrintf("%.*s|17179869183", expected_len, name.c_str()); in TEST_F()
293 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()