Searched refs:TestString (Results 1 – 1 of 1) sorted by relevance
77 struct TestString { struct78 TestString(std::string string) : string_(string) {} in TestString() argument81 bool operator<(const TestString& other) const { return other.string_ > string_; } in operator <() argument82 bool operator==(const TestString& other) const { return other.string_ == string_; } in operator ==() argument89 void LoadTestStringMap(SyncMapCount<TestString>& map) { in LoadTestStringMap()91 map.Put(TestString(*p)); in LoadTestStringMap()97 SyncMapCount<TestString> map; in TEST()103 ASSERT_EQ(3ul, m[TestString("Three")]); in TEST()104 ASSERT_EQ(2ul, m[TestString("Two")]); in TEST()105 ASSERT_EQ(1ul, m[TestString("One")]); in TEST()[all …]