Lines Matching refs:GetFormField
81 std::string GetFormField(const std::string& data, const std::string& name) { in GetFormField() function
257 EXPECT_EQ("refresh_token", GetFormField(data, "grant_type")); in TEST_F()
259 GetFormField(data, "refresh_token")); in TEST_F()
260 EXPECT_EQ(test_data::kClientId, GetFormField(data, "client_id")); in TEST_F()
262 GetFormField(data, "client_secret")); in TEST_F()
300 EXPECT_EQ("refresh_token", GetFormField(data, "grant_type")); in TEST_F()
302 GetFormField(data, "refresh_token")); in TEST_F()
303 EXPECT_EQ(test_data::kClientId, GetFormField(data, "client_id")); in TEST_F()
305 GetFormField(data, "client_secret")); in TEST_F()
329 EXPECT_EQ("refresh_token", GetFormField(data, "grant_type")); in TEST_F()
331 GetFormField(data, "refresh_token")); in TEST_F()
332 EXPECT_EQ(test_data::kClientId, GetFormField(data, "client_id")); in TEST_F()
334 GetFormField(data, "client_secret")); in TEST_F()
517 EXPECT_EQ("authorization_code", GetFormField(data, "grant_type")); in TEST_F()
518 EXPECT_EQ(test_data::kRobotAccountAuthCode, GetFormField(data, "code")); in TEST_F()
519 EXPECT_EQ(test_data::kClientId, GetFormField(data, "client_id")); in TEST_F()
521 GetFormField(data, "client_secret")); in TEST_F()
522 EXPECT_EQ("oob", GetFormField(data, "redirect_uri")); in TEST_F()