Summary

Harness status: OK

Found 16 tests

Details

ResultTest NameMessage
Passempty value
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassValid value: Value should be 2014-W52
Asserts run
Pass
assert_equals("2014-W52", "2014-W52")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
Pass2014 has 52 weeks: Value should be empty
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
Pass2015 has 53 weeks: Value should be 2015-W53
Asserts run
Pass
assert_equals("2015-W53", "2015-W53")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassInvalid value: year only
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassInvalid value: no week number
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassInvalid value: no '-' (U+002D)
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassInvalid value: yearless week
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassInvalid value: should be capital letter 'W'
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassInvalid value: incorrect with '-' at the end
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassInvalid value: value should be two parts
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassInvalid value: yearless week and no '-' (U+002D)
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassValue >= min attribute
Asserts run
Pass
assert_equals("2014-W03", "2014-W03")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassValue < min attribute
Asserts run
Pass
assert_equals("2014-W01", "2014-W01")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassValue <= max attribute
Asserts run
Pass
assert_equals("2014-W10", "2014-W10")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)
PassValue > max attribute
Asserts run
Pass
assert_equals("2014-W12", "2014-W12")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/week.html:38:7)