value-class-date-time-tests: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(→‎results: add separate column for FF3.6 vs FF3.5.8, cluster notes appropriately)
(→‎results: added FF3.6.8 + Operator 0.9.5.6, much improvement, still some missing end times)
Line 37: Line 37:
This table documents implementations that support at least some value class pattern features. As implementations pass at least one of the tests above, they should be added to this table.
This table documents implementations that support at least some value class pattern features. As implementations pass at least one of the tests above, they should be added to this table.
{| style="border:1px solid"  
{| style="border:1px solid"  
! test !! [[X2V]] 0.9.7 || Firefox 3.5.8 +  [[Operator]] 0.9.5.1 * || Firefox 3.6 +  [[Operator]] 0.9.5.1 **
! test !! [[X2V]] 0.9.7 || Firefox (FF) 3.5.8 +  [[Operator]] 0.9.5.1 * || FF 3.6 +  [[Operator]] 0.9.5.1 ** || FF 3.6.8 + [[Operator]] 0.9.5.6
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--HH-MM]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpass|pass}}
|-  
|-  
| [[value-dt-test-abbr-YYYY-MM-DD--HH-MM]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-abbr-YYYY-MM-DD--HH-MM]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpass|pass}}
|-  
|-  
| [[value-dt-test-abbr-YYYY-MM-DD-abbr-HH-MM]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-abbr-YYYY-MM-DD-abbr-HH-MM]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpass|pass}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HHpm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--HHpm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpass|pass}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--Hpm-EEpm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--Hpm-EEpm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--abbr-HH-MMpm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--abbr-HH-MMpm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--12am-12pm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--12am-12pm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--H-MMam-Epm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--H-MMam-Epm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--0Ham-EEam]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--0Ham-EEam]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-DDD--HH-MM-SS]] || {{testfail|fail}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-DDD--HH-MM-SS]] || {{testfail|fail}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpass|pass}}  
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY]] || {{testpass|pass}} || {{testpass|pass}} || {{testfail|fail}}
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY]] || {{testpass|pass}} || {{testpass|pass}} || {{testfail|fail}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpartial|end time missing}}
|-  
|-  
| [[value-dt-test-e-title-YYYY-MM-DD--HH-MM]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}}
| [[value-dt-test-e-title-YYYY-MM-DD--HH-MM]] || {{testpass|pass}} || {{testpass|pass}} || {{testpartial|partial}} || {{testpass|pass}}
|}
|}



Revision as of 19:11, 18 August 2010

<entry-title>value class pattern date and time tests</entry-title> This page provides links to individual test case pages for handling date and time values published using the value-class-pattern.

short URL
http://tr.im/vcpdt

tests

Tests grouped by microformat:

hCalendar

error tests

Tests are necessary to make sure implementations aren't "over" implementing some aspects, and properly handling errors in markup, e.g. using the "title" attribute when they shouldn't be.

hAtom

  • ...


results

This table documents implementations that support at least some value class pattern features. As implementations pass at least one of the tests above, they should be added to this table.

test X2V 0.9.7 Firefox (FF) 3.5.8 + Operator 0.9.5.1 * FF 3.6 + Operator 0.9.5.1 ** FF 3.6.8 + Operator 0.9.5.6
value-dt-test-YYYY-MM-DD--HH-MM
pass
pass
partial
pass
value-dt-test-abbr-YYYY-MM-DD--HH-MM
pass
pass
partial
pass
value-dt-test-abbr-YYYY-MM-DD-abbr-HH-MM
pass
pass
partial
pass
value-dt-test-YYYY-MM-DD--HHpm
pass
pass
partial
pass
value-dt-test-YYYY-MM-DD--Hpm-EEpm
pass
pass
partial
end time missing
value-dt-test-YYYY-MM-DD--abbr-HH-MMpm
pass
pass
partial
end time missing
value-dt-test-YYYY-MM-DD--12am-12pm
pass
pass
partial
end time missing
value-dt-test-YYYY-MM-DD--H-MMam-Epm
pass
pass
partial
end time missing
value-dt-test-YYYY-MM-DD--0Ham-EEam
pass
pass
partial
end time missing
value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm
pass
pass
partial
end time missing
value-dt-test-YYYY-DDD--HH-MM-SS
fail
pass
partial
pass
value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ
pass
pass
partial
end time missing
value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY
pass
pass
fail
end time missing
value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y
pass
pass
partial
end time missing
value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z
pass
pass
partial
end time missing
value-dt-test-e-title-YYYY-MM-DD--HH-MM
pass
pass
partial
pass


Notes
* Tantek Çelik has found that these tests pass in Firefox 3.5.8 with Operator 0.9.5.1 by using the "Debug" option in Operator and looking at both the "Structure" and "vCard/iCalendar" tabs and verifying that both agree with expected output for the test.
** Jeremy Keith has found that these tests only partially pass in Firefox 3.6 with Operator 0.9.5.1 (and one test fails). For the partials, the date was correctly parsed, but not the time. In the one fail, the timezone field is misread as the end date.

old tests

The handling of date and time values in the value class pattern was originally brainstormed on the value-excerption-pattern-brainstorming page and the following page of tests was used to make sure pattern both worked for publishers and was reasonably parsable:

see also