Lines Matching refs:id
65 String IdToKey(int id, const char* suffix) {
67 key << "key_" << id << "_" << suffix;
71 String IdToString(int id) {
73 id_message << id;
79 int id, const char* suffix) {
80 TestPropertyKeyIs matches_key(IdToKey(id, suffix).c_str());
84 << "expecting " << suffix << " value for id " << id;
85 EXPECT_STREQ(IdToString(id).c_str(), property->value());
90 void ManyAsserts(int id) {
91 GTEST_LOG_(INFO) << "Thread #" << id << " running...";
93 SCOPED_TRACE(Message() << "Thread #" << id);
107 Test::RecordProperty(IdToKey(id, "string").c_str(), IdToString(id).c_str());
108 Test::RecordProperty(IdToKey(id, "int").c_str(), id);
109 Test::RecordProperty("shared_key", IdToString(id).c_str());