Lines Matching defs:method
90 string method = req.GetMethod();
91 EXPECT_EQ(method, HttpConstant::HTTP_METHOD_GET);
98 string method = req.GetMethod();
99 NETSTACK_LOGI("SetMethodTest001 GetMethod = %{public}s", method.c_str());
100 EXPECT_EQ(method, HttpConstant::HTTP_METHOD_GET);
107 string method = req.GetMethod();
108 EXPECT_EQ(method, HttpConstant::HTTP_METHOD_POST);
270 bool method = req.MethodForGet("");
271 EXPECT_EQ(method, false);
277 bool method = req.MethodForGet("GET");
278 EXPECT_EQ(method, true);
284 bool method = req.MethodForPost("");
285 EXPECT_EQ(method, false);
291 bool method = req.MethodForPost("POST");
292 EXPECT_EQ(method, true);