Home | History | Annotate | Download | only in test

Lines Matching defs:id

55 String IdToKey(int id, const char* suffix) {
57 key << "key_" << id << "_" << suffix;
61 String IdToString(int id) {
63 id_message << id;
68 int id,
70 TestPropertyKeyIs matches_key(IdToKey(id, suffix).c_str());
73 << "expecting " << suffix << " value for id " << id;
74 EXPECT_STREQ(IdToString(id).c_str(), property->value());
79 void ManyAsserts(int id) {
80 ::std::cout << "Thread #" << id << " running...\n";
82 SCOPED_TRACE(Message() << "Thread #" << id);
96 Test::RecordProperty(IdToKey(id, "string").c_str(), IdToString(id).c_str());
97 Test::RecordProperty(IdToKey(id, "int").c_str(), id);
98 Test::RecordProperty("shared_key", IdToString(id).c_str());