Home | History | Annotate | Download | only in test

Lines Matching defs:id

64 std::string IdToKey(int id, const char* suffix) {
66 key << "key_" << id << "_" << suffix;
70 std::string IdToString(int id) {
72 id_message << id;
78 int id, const char* suffix) {
79 TestPropertyKeyIs matches_key(IdToKey(id, suffix).c_str());
83 << "expecting " << suffix << " value for id " << id;
84 EXPECT_STREQ(IdToString(id).c_str(), property->value());
89 void ManyAsserts(int id) {
90 GTEST_LOG_(INFO) << "Thread #" << id << " running...";
92 SCOPED_TRACE(Message() << "Thread #" << id);
106 Test::RecordProperty(IdToKey(id, "string").c_str(), IdToString(id).c_str());
107 Test::RecordProperty(IdToKey(id, "int").c_str(), id);
108 Test::RecordProperty("shared_key", IdToString(id).c_str());