Changes

Jump to: navigation, search

Cue Times

3,212 bytes added, 10:02, 27 September 2012
no edit summary
|}
'''TODO:''' Break hour, see if days work, create multiple cue times that don't make sense (first cue at 2 minutes, second at 1 minute)
 
 
 
=== Deva (Thevakaran) ===
Writing some test cases that not covered by Dale or Vince
{| border="1"
|-
|class="header"|'''Filename'''
|class="header"|'''Description'''
|class="header"|'''Should Pass / Fail?'''
|class="header"|'''Reasoning'''
|class="header"|'''Creation Note'''
|class="header"|'''Comments'''
|class="header"|'''Peer Review'''
|-
|cuetime_minute_BAD.vtt
|Minute should have only two characters in the range U+0030 to U+0039.
|Fail
|W3C WebVTT Standard - Explained in 3.1 Syntax
|
|
|
|-
|}
 
 
=== SUMMARY ===
 
==== CUE TIME STAMP - MINIMUM REQUIREMENT ====
* Starting "WEBVTT" title
* Two or more WEBVTT line breakers
* Cue start time
* One or more U+0020 SPACE characters or U+0009 TABULATION 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 TABULATION characters
* Cue end time
<pre>
WEBVTT
 
00:00.000 --> 05:00.000
</pre>
 
 
==== CUE START TIME RULES ====
1. The cue start time must be greater or equal to last cue start time (Applicable only if there are any previous cue time stamps available)
 
2. Should start with any characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)
 
3. Can not have any characters other than
* U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).
* one U+002E FULL STOP character (.).
* one U+003A COLON character (:) only if the hour is zero and not included, if not, two U+003A COLON character (:).
4. Optionally (required if hour is non-zero) include
* Hour - two or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)
5. Should include
* Minute - 2 characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Range 00 to 59.
* Second - 2 characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Range 00 to 59.
* Millisecond - 3 characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Range 000 to 999.
6. U+003A COLON character (:) should be used to separate
* Hours and Minute
* Minute and second
7. U+002E FULL STOP character (.) should be used between second and millisecond
 
 
==== CUE END TIME RULES ====
1. The cue end time must be greater than start time
 
2. Should start with any characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)
 
3. Can not have any characters other than
* U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).
* one U+002E FULL STOP character (.).
* one U+003A COLON character (:) only if the hour is zero and not included, if not, two U+003A COLON character (:).
4. Optionally (required if hour is non-zero) include
* Hour - two or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)
5. Should include
* Minute - 2 characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Range 00 to 59.
* Second - 2 characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Range 00 to 59.
* Millisecond - 3 characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Range 000 to 999.
6. U+003A COLON character (:) should be used to separate
* Hours and Minute
* Minute and second
7. U+002E FULL STOP character (.) should be used between second and millisecond

Navigation menu