Lines Matching refs:properties

57 function test_attribute_exists(parent_name, attribute_name, properties)
60 wp_test(function() { assert_not_equals(performanceNamespace[parent_name][attribute_name], undefined, msg); }, msg, properties);
63 function test_enum(parent_name, enum_name, value, properties)
66 wp_test(function() { assert_not_equals(performanceNamespace[parent_name][enum_name], undefined, msg); }, msg, properties);
69 wp_test(function() { assert_equals(performanceNamespace[parent_name][enum_name], value, msg); }, msg, properties);
72 function test_timing_order(attribute_name, greater_than_attribute, properties)
76 wp_test(function() { assert_true(performanceNamespace.timing[attribute_name] > 0, msg); }, msg, properties);
80 wp_test(function() { assert_true(performanceNamespace.timing[attribute_name] >= performanceNamespace.timing[greater_than_attribute], msg); }, msg, properties);
83 function test_timing_greater_than(attribute_name, greater_than, properties)
86 test_greater_than(performanceNamespace.timing[attribute_name], greater_than, msg, properties);
89 function test_timing_equals(attribute_name, equals, msg, properties)
92 test_equals(performanceNamespace.timing[attribute_name], equals, test_msg, properties);
111 function test_greater_than(value, greater_than, msg, properties)
113 wp_test(function () { assert_greater_than(value, greater_than, msg); }, msg, properties);
116 function test_greater_or_equals(value, greater_than, msg, properties)
118 wp_test(function () { assert_greater_than_equal(value, greater_than, msg); }, msg, properties);
121 function test_not_equals(value, notequals, msg, properties)
123 wp_test(function() { assert_not_equals(value, notequals, msg); }, msg, properties);