Difference between revisions of "value-class-date-time-tests"

From Microformats Wiki
value-class-date-time-tests
Jump to navigation Jump to search
Line 59: Line 59:
 
| [[value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm]] || {{testpass|pass}} || {{testpass|pass*}}
 
| [[value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm]] || {{testpass|pass}} || {{testpass|pass*}}
 
|-  
 
|-  
| [[value-dt-test-YYYY-DDD--HH-MM-SS]] || {{testfail|fail}} || {{testpass|pass**}}
+
| [[value-dt-test-YYYY-DDD--HH-MM-SS]] || {{testfail|fail}} || {{testpass|pass*}}
 
|-  
 
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ]] || {{testpass|pass}} || {{testpass|pass**}}
+
| [[value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ]] || {{testpass|pass}} || {{testpass|pass*}}
 
|-  
 
|-  
 
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY]] || {{testpass|pass}} || {{testpass|pass**}}
 
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY]] || {{testpass|pass}} || {{testpass|pass**}}
 
|-  
 
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y]] || {{testpass|pass}} || {{testpass|pass**}}
+
| [[value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y]] || {{testpass|pass}} || {{testpass|pass*}}
 
|-  
 
|-  
| [[value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z]] || {{testpass|pass}} || {{testpass|pass**}}
+
| [[value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z]] || {{testpass|pass}} || {{testpass|pass*}}
 
|-  
 
|-  
 
| [[value-dt-test-e-title-YYYY-MM-DD--HH-MM]] || {{testpass|pass}} || {{testpass|pass*}}
 
| [[value-dt-test-e-title-YYYY-MM-DD--HH-MM]] || {{testpass|pass}} || {{testpass|pass*}}
Line 76: Line 76:
  
 
: * [[User:Tantek|Tantek Çelik]] has found that these tests pass in Firefox 3.5.8 with Operator 0.9.5 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. <br/><br/>However, [[User:Adactio|Jeremy Keith]] has found that these tests only partially pass in Firefox 3.6 with Operator 0.9.5. The date was correctly parsed, but not the time.<br/><br/>Call for test verification: to anyone else: please run these tests in Firefox 3.5.8 or Firefox 3.6 with Operator 0.9.5 and report back and explicitly note any specific problems you see. <br/><br/>
 
: * [[User:Tantek|Tantek Çelik]] has found that these tests pass in Firefox 3.5.8 with Operator 0.9.5 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. <br/><br/>However, [[User:Adactio|Jeremy Keith]] has found that these tests only partially pass in Firefox 3.6 with Operator 0.9.5. The date was correctly parsed, but not the time.<br/><br/>Call for test verification: to anyone else: please run these tests in Firefox 3.5.8 or Firefox 3.6 with Operator 0.9.5 and report back and explicitly note any specific problems you see. <br/><br/>
: ** [[User:Tantek|Tantek Çelik]] has found that these tests pass in Firefox 3.5.8 with Operator 0.9.5 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. <br/><br/>However, [[User:Adactio|Jeremy Keith]] has found that these tests FAIL in Firefox (version unknown - Jeremy, please fill in) with Operator 0.9.5 (Jeremy, please verify you were using this version and delete this note).  Jeremy, please document how you ran the tests and what specifically was wrong in the expected result(s) that led you to mark these results as testfail.
+
: ** [[User:Tantek|Tantek Çelik]] has found that these tests pass in Firefox 3.5.8 with Operator 0.9.5 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. <br/><br/>However, [[User:Adactio|Jeremy Keith]] has found that these tests FAIL in Firefox 3.6 with Operator 0.9.5 The timezone field is interpreted as the end date.
  
 
== old tests ==
 
== old tests ==

Revision as of 21:57, 15 March 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 Operator Firefox plugin 0.9.5
value-dt-test-YYYY-MM-DD--HH-MM
pass
pass*
value-dt-test-abbr-YYYY-MM-DD--HH-MM
pass
pass*
value-dt-test-abbr-YYYY-MM-DD-abbr-HH-MM
pass
pass*
value-dt-test-YYYY-MM-DD--HHpm
pass
pass*
value-dt-test-YYYY-MM-DD--Hpm-EEpm
pass
pass*
value-dt-test-YYYY-MM-DD--abbr-HH-MMpm
pass
pass*
value-dt-test-YYYY-MM-DD--12am-12pm
pass
pass*
value-dt-test-YYYY-MM-DD--H-MMam-Epm
pass
pass*
value-dt-test-YYYY-MM-DD--0Ham-EEam
pass
pass*
value-dt-test-YYYY-MM-DD--H-MM-SSpm-EE-NN-UUpm
pass
pass*
value-dt-test-YYYY-DDD--HH-MM-SS
fail
pass*
value-dt-test-YYYY-MM-DD--HH-MMZ-EE-NN-UUZ
pass
pass*
value-dt-test-YYYY-MM-DD--HH-MM-XX-YY--EE-NN-UU--XXYY
pass
pass**
value-dt-test-YYYY-MM-DD--HH-MM-XX--EE-NN-UU--Y
pass
pass*
value-dt-test-YYYY-MM-DD--HH-MM-SS-XXYY--EE-NN--Z
pass
pass*
value-dt-test-e-title-YYYY-MM-DD--HH-MM
pass
pass*


Notes
* Tantek Çelik has found that these tests pass in Firefox 3.5.8 with Operator 0.9.5 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.

However, Jeremy Keith has found that these tests only partially pass in Firefox 3.6 with Operator 0.9.5. The date was correctly parsed, but not the time.

Call for test verification: to anyone else: please run these tests in Firefox 3.5.8 or Firefox 3.6 with Operator 0.9.5 and report back and explicitly note any specific problems you see.

** Tantek Çelik has found that these tests pass in Firefox 3.5.8 with Operator 0.9.5 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.

However, Jeremy Keith has found that these tests FAIL in Firefox 3.6 with Operator 0.9.5 The timezone field is interpreted 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