Lines Matching refs:test_case
18 var test_case = test_cases[i];
19 var name = "Setting <" + test_case.href + ">." + attribute_to_be_set +
20 " = '" + test_case.new_value + "'";
21 if ("comment" in test_case) {
22 name += " " + test_case.comment;
24 const key = test_case.href.split(":")[0];
26 var url = new URL(test_case.href);
27 url[attribute_to_be_set] = test_case.new_value;
28 for (var attribute in test_case.expected) {
29 assert_equals(url[attribute], test_case.expected[attribute])