Difference between revisions of "Cue Times"
(→Vince) |
|||
Line 125: | Line 125: | ||
|Conforms to spec | |Conforms to spec | ||
|ST2 | |ST2 | ||
+ | | | ||
+ | |- | ||
+ | |bad02.vtt | ||
+ | |00:00.001 --> 00:00.000 | ||
+ | |Fail | ||
+ | |End timestamp must be greater than start timestamp | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | |bad03.vtt | ||
+ | |00:00.000 00:00.001 | ||
+ | |Fail | ||
+ | |Timestamp separator not found | ||
+ | | | ||
| | | | ||
|- | |- |
Revision as of 17:04, 24 September 2012
Contents
Group Members
- Vince Lee
- Thevakaran Virutthasalam
- Dale Karp
Test Ideas
- Syntax
- Single cue tests
- Times out of order
- Multiple cue tests
- Nested cues
- Overlapping cues
- Cue times out of order
Rules
- A WebVTT timestamp representing the start time offset of the cue. The time represented by this WebVTT timestamp must be greater than or equal to the start time offsets of all previous cues in the file.
- One or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters.
- The string "-->" (U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS, U+003E GREATER-THAN SIGN).
- One or more U+0020 SPACE characters or U+0009 CHARACTER TABULATION (tab) characters.
- A WebVTT timestamp representing the end time offset of the cue. The time represented by this WebVTT timestamp must be greater than the start time offset of the cue.
Tests
Dale
URL to git repo with tests: https://github.com/daliuss/webvtt/tree/cueTimeTests/test/spec
Filename | Description | Should Pass / Fail? | Reasoning | Creation Note | Comments |
---|---|---|---|---|---|
cuetime_bareminimum.vtt | Bare minimum file that passes (no cue content) | Pass | Conforms to spec | ST2 | |
cuetime_bareminimum_content.vtt | Bare minimum file that passes (cue content) | Pass | Conforms to spec | ST2 | |
Vince
I'm gonna remake the table using markdown. Hitting <td></td> is tedious
Filename | Description | Should Pass / Fail? | Reasoning | Creation Note | Comments |
bad01.vtt | 00:00.000 --> 00:00.000 | Fail | End timestamp must be greater than start timestamp | ||
cuetime_bareminimum.vtt | Bare minimum file that passes (no cue content) | Pass | Conforms to spec | ST2 | |
cuetime_bareminimum_content.vtt | Bare minimum file that passes (cue content) | Pass | Conforms to spec | ST2 | |
bad02.vtt | 00:00.001 --> 00:00.000 | Fail | End timestamp must be greater than start timestamp | ||
bad03.vtt | 00:00.000 00:00.001 | Fail | Timestamp separator not found |