Home
last modified time | relevance | path

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

/external/libbrillo/brillo/http/
Dhttp_form_data_unittest.cc31 TextFormField form_field{"field1", "abcdefg", mime::text::kPlain, "7bit"}; in TEST() local
37 EXPECT_EQ(expected_header, form_field.GetContentHeader()); in TEST()
38 EXPECT_EQ("abcdefg", GetFormFieldData(&form_field)); in TEST()
54 FileFormField form_field{"test_file", in TEST() local
65 EXPECT_EQ(expected_header, form_field.GetContentHeader()); in TEST()
66 EXPECT_EQ(file_content, GetFormFieldData(&form_field)); in TEST()
83 MultiPartFormField form_field{"foo", mime::multipart::kFormData, "Delimiter"}; in TEST() local
84 form_field.AddTextField("name", "John Doe"); in TEST()
85 EXPECT_TRUE(form_field.AddFileField("file1", in TEST()
90 EXPECT_TRUE(form_field.AddFileField("file2", in TEST()
[all …]
/external/autotest/tko/
Dcompose_query.cgi89 def parse_field(form, form_field, field_default): argument
90 if not form_field in form:
92 field_input = form[form_field].value.lower()
98 def parse_condition(form, form_field, field_default): argument
99 if not form_field in form:
101 return form[form_field].value