Lines Matching defs:testKey
29 static const char testKey[];
44 EXPECT_FALSE(testMap.contains(testKey));
45 EXPECT_EQ(0u, testMap.count(testKey));
48 EXPECT_TRUE(testMap.find(testKey) == testMap.end());
62 EXPECT_STREQ(testKey, it->first().data());
68 EXPECT_TRUE(testMap.contains(testKey));
69 EXPECT_EQ(1u, testMap.count(testKey));
72 EXPECT_TRUE(testMap.find(testKey) == testMap.begin());
79 const char StringMapTest::testKey[] = "key";
81 const char *StringMapTest::testKeyFirst = testKey;
82 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
83 const std::string StringMapTest::testKeyStr(testKey);
110 EXPECT_EQ(0u, constTestMap.count(testKey));
113 EXPECT_TRUE(constTestMap.find(testKey) == constTestMap.end());
128 testMap[testKey] = testValue;
134 testMap[testKey] = testValue;
141 testMap[testKey] = testValue;
148 testMap[testKey] = testValue;
149 testMap.erase(testKey);
155 testMap[testKey] = testValue;
255 EXPECT_STREQ(testKey, entry->first().data());