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];
27 url.href = test_case.href;
28 url[attribute_to_be_set] = test_case.new_value;
29 for (var attribute in test_case.expected) {
30 assert_equals(url[attribute], test_case.expected[attribute])
35 url.href = test_case.href;
36 url[attribute_to_be_set] = test_case.new_value;
37 for (var attribute in test_case.expected) {
38 assert_equals(url[attribute], test_case.expected[attribute])