Searched refs:TestString (Results 1 – 1 of 1) sorted by relevance
87 struct TestString { struct88 TestString(std::string string) : string_(string) {} in TestString() argument93 bool operator<(const TestString& other) const { in operator <() argument96 bool operator==(const TestString& other) const { in operator ==() argument105 void LoadTestStringMap(SyncMapCount<TestString>& map) { in LoadTestStringMap()107 map.Put(TestString(*p)); in LoadTestStringMap()113 SyncMapCount<TestString> map; in TEST()119 ASSERT_EQ(3ul, m[TestString("Three")]); in TEST()120 ASSERT_EQ(2ul, m[TestString("Two")]); in TEST()121 ASSERT_EQ(1ul, m[TestString("One")]); in TEST()[all …]