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_test.cc32 TextFormField form_field{"field1", "abcdefg", mime::text::kPlain, "7bit"}; in TEST() local
38 EXPECT_EQ(expected_header, form_field.GetContentHeader()); in TEST()
39 EXPECT_EQ("abcdefg", GetFormFieldData(&form_field)); in TEST()
55 FileFormField form_field{"test_file", in TEST() local
66 EXPECT_EQ(expected_header, form_field.GetContentHeader()); in TEST()
67 EXPECT_EQ(file_content, GetFormFieldData(&form_field)); in TEST()
84 MultiPartFormField form_field{"foo", mime::multipart::kFormData, "Delimiter"}; in TEST() local
85 form_field.AddTextField("name", "John Doe"); in TEST()
86 EXPECT_TRUE(form_field.AddFileField("file1", in TEST()
91 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