Lines Matching refs:GetResultType
125 KnownResultType GetResultType(const std::string& result_id) {
173 EXPECT_EQ(PERFECT_PRIMARY, GetResultType(kPrimary));
174 EXPECT_EQ(PERFECT_SECONDARY, GetResultType(kSecondary));
177 EXPECT_EQ(PREFIX_PRIMARY, GetResultType(kPrimary));
178 EXPECT_EQ(PREFIX_SECONDARY, GetResultType(kSecondary));
192 EXPECT_EQ(PERFECT_PRIMARY, GetResultType(kPrimary));
193 EXPECT_EQ(PERFECT_SECONDARY, GetResultType(kSecondary));
209 EXPECT_EQ(PERFECT_PRIMARY, GetResultType(kPrimary));
210 EXPECT_EQ(PERFECT_SECONDARY, GetResultType(kSecondary));
211 EXPECT_EQ(PERFECT_SECONDARY, GetResultType(kOther));
223 EXPECT_EQ(PERFECT_PRIMARY, GetResultType(kPrimary));
224 EXPECT_EQ(PERFECT_SECONDARY, GetResultType(kSecondary));
230 EXPECT_EQ(PERFECT_PRIMARY, GetResultType(kSecondary));
231 EXPECT_EQ(PERFECT_SECONDARY, GetResultType(kPrimary));
275 EXPECT_EQ(PERFECT_SECONDARY, GetResultType("0"));
276 EXPECT_EQ(PERFECT_SECONDARY, GetResultType("1"));
288 EXPECT_EQ(UNKNOWN_RESULT, GetResultType("1"));
291 EXPECT_EQ(PERFECT_SECONDARY, GetResultType("0"));