Changes

Jump to: navigation, search

Cue Times

915 bytes added, 23:40, 30 September 2012
Dale: renamed files
== Tests ==
TC3000 - TC3099: Dale
 
TC3100 - TC3199: Deva
 
TC3200 - TC3299: Vince
=== Dale ===
URL to git repo with tests: https://github.com/daliuss/webvtt/tree/master/test/spec
|class="header"|'''Peer Review'''
|-
|cuetime_bareminimumtc3200-bare_minimum.vtttest
|Bare minimum file that passes (no cue content)
|Pass
|ST2
|
|09/27 by Vince
|-
|cuetime_bareminimum_contenttc3201-bare_minimum_content.vtttest
|Bare minimum file that passes (cue content)
|Pass
|Conforms to spec (section 3.1 in W3C draft)
|ST2
|Should the content be there or is someone else testing this?|09/27 by Vince
|-
|cuetime_highestvaluestc3202-highest_values.vtttest
|Highest legal values allowed in time stamps
|Pass
|Conforms to spec (section 3.1 in W3C draft)
|ST2
|Can hours go to 3 digits? I think it can.|09/27 by Vince
|-
|cuetime_spacetabstc3203-space_tabs.vtttest
|Lots of tab/space chars between timestamps and "-->"
|Pass
|ST2
|
|09/27 by Vince
|-
|cuetime_tabstc3204-tabs.vtttest
|Using tab characters instead of space characters
|Pass
|Conforms to spec (section 3.1 in W3C draft)
|ST2
|Should the comment be there?|09/27 by Vince
|-
|cuetime_hourstc3205-hours.vtttest
|Includes optional hours characters in timestamps
|Pass
|ST2
|
|09/27 by Vince
|-
|cuetime_multicuestc3206-multicues.vtttest
|The second cue's start time and the first cue's end time are the same
|Pass
|ST2
|
|09/27 by Vince
|-
|cuetime_nestedcuestc3207-nestedcues.vtttest
|Some cue times are nested within another cue
|Pass
|Conforms to spec (section 3.1 in W3C draft)
|ST2
|Thank you for testing this! I'll make a broken one later.|09/27 by Vince
|-
|cuetime_overlappingcuestc3208-overlappingcues.vtttest
|There is overlap time between the two cues
|Pass
|ST2
|
|09/27 by Vince
|-
|}
|class="header"|'''Peer Review'''
|-
|bad01tc3201.vtttest
|'''00:00.000 --> 00:00.000'''
|Fail
|Dale, Sept 26 2012
|-
|bad02tc3202.vtttest
|00:00.'''001''' --> 00:00.000
|Fail
|Dale, Sept 26 2012
|-
|bad03tc3203.vtttest
|00:00.000 00:00.001
|Fail
|Dale, Sept 26 2012
|-
|bad04tc3204.vtttest
|00:00.'''0000''' --> 00:00.001
|Fail
|Dale, Sept 26 2012
|-
|bad05tc3205.vtttest
|00:'''000'''.000 --> 00:00.001
|Fail
|Dale, Sept 26 2012
|-
|bad06tc3206.vtttest
|'''000''':00.000 --> 00:00.001
|Fail
|Dale, Sept 26 2012
|-
|bad07tc3207.vtttest
|'''00:'''0:00:00.000 --> '''00:'''0:00:00.001
|Fail
|
|-
|bad08tc3208.vtttest
|:00:00.000 --> 00:00.001
|Fail
|
|-
|bad09tc3209.vtttest
|00:01.000 --> 00:01.001 <br /><br /> 00:00.000 --> 00:00.001
|Fail
'''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"|'''Peer Review'''
|-
|cuetime_minute_BAD[https://github.vttcom/gobihun/webvtt/blob/master/test/spec/bad/TC3100_cuetime_minute_BAD.test TC3100_cuetime_minute_BAD.test]
|Minute should have only two characters in the range U+0030 to U+0039.
|Fail
|
|-
|cuetime_socond_BAD[https://github.vttcom/gobihun/webvtt/blob/master/test/spec/bad/TC3101_cuetime_second_BAD.test TC3101_cuetime_socond_BAD.test]
|Second should have only two characters in the range U+0030 to U+0039.
|Fail
|
|-
 |cuetime_timestamp_tag[https://github.com/gobihun/webvtt/blob/master/test/spec/bad/TC3100_cuetime_spacetab_BAD.test TC3102_cuetime_spacetab_BAD.vtttest]|Start time can be changed by time stamp taggingBetween timestamp and '-->' should have one or more white space/s.|PassFail|[http://edutechwiki.unige.ch/en/WebVTT#Karaoke_style_cues EduTech Wiki W3C WebVTT Standard - Time Stamp Tag]Explained in 3.1 Syntax
|
|
|
|-
 |cuetime_timestamp_tag_BAD01[https://github.vttcom/gobihun/webvtt/blob/master/test/spec/bad/TC3100_cuetime_starttime_BAD.test TC3103_cuetime_starttime_BAD.test]|Time stamp tag can not less or equal to Start time must be greater than last cue start time stamp.
|Fail
|W3C WebVTT Standard - Explained in 3.1 Syntax
|
|
|
|-
 
|}
== Summary ==
 == SUMMARY == === CUE TIME STAMP Cue Timestamp - MINIMUM REQUIREMENT Minimum Requirement ===
* Starting "WEBVTT" title
* Two or more WEBVTT line breakers
=== CUE TIME STAMP RULES Cue Timestamp Rules ===
1. Should start with any characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)
* one U+003A COLON character (:) only if the hour is zero and not included, if not, two U+003A COLON character (:).
3. Optionally (required if hour is non-zero) include
* Hour - two one or more characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9)
4. Should include
* Minute - 2 characters in the range of U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). Range 00 to 59.
=== CUE TAG TIMESTAMP RULES ==='''Timestamp format without hour'''* The cue tag timestamp must be greater than start timestamp<pre>MM:SS.sss</pre> '''Timestamp format with hour'''* The cue tag timestamp must be less than end timestamp<pre>HH:MM:SS.sss</pre> : HH - Hour (1 or more characters): MM - Minute (2 character): SS - Second (2 character): sss - Millisecond (3 character)
=== CUE START TIMESTAMP RULES Cue Start Timestamp Rule ===
* The cue start timestamp must be greater or equal to last cue start time (Applicable only if there are any previous cue time stamps available)
=== CUE END TIME RULES Cue End Timestamp Rule ===* The cue end time timestamp must be greater than start time
1
edit

Navigation menu