Home
last modified time | relevance | path

Searched refs:TestString (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Bluetooth/system/gd/common/
Dsync_map_count_test.cc87 struct TestString { struct
88 TestString(std::string string) : string_(string) {} in TestString() argument
93 bool operator<(const TestString& other) const { in operator <() argument
96 bool operator==(const TestString& other) const { in operator ==() argument
105 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 …]