Difference between revisions of "CueSettingsTests"

From CDOT Wiki
Jump to: navigation, search
(Cue Settings Tests)
(Cue Settings Tests)
Line 1: Line 1:
 
== Cue Settings Tests ==
 
== Cue Settings Tests ==
  
Hey Cait here are the tests I've come up with so far for the position, size and align cue settings. I have a few concerns about some of the things I saw in the parser so if you could help me test them it would be great.
+
Hi Caitlin here are the tests I've come up with so far for the position, size and align cue settings. I have a few concerns about some of the things I saw in the parser so if you could help me test them it would be great.
  
 
Some notable things I've discovered:
 
Some notable things I've discovered:
Line 10: Line 10:
 
*00:11.000 --> 00:13.000 position:A% passes
 
*00:11.000 --> 00:13.000 position:A% passes
 
**any character besides ' ' (space) between : and % will pass. This looks to me like a bug but I'd like to see if anyone else has found this to happen
 
**any character besides ' ' (space) between : and % will pass. This looks to me like a bug but I'd like to see if anyone else has found this to happen
 +
 +
A few things to note about the tests:
 +
 +
*The first test for position is the absence of the cue setting tag, I think technically this test should work for the rest of the tests that use the :n% format as well hence its absence in the size tests.
  
  
Line 72: Line 76:
  
 
=== Align ===
 
=== Align ===
 +
 +
WEBVTT
 +
 +
00:11.000 --> 00:13.000 :start
 +
  
 
WEBVTT
 
WEBVTT

Revision as of 09:41, 21 September 2012

Cue Settings Tests

Hi Caitlin here are the tests I've come up with so far for the position, size and align cue settings. I have a few concerns about some of the things I saw in the parser so if you could help me test them it would be great.

Some notable things I've discovered:

  • 00:11.000 --> 00:13.000position:10% passes
    • there is no space between the cue setting and the cue timing, do you know if this is necessary for the parser or not?
  • 00:11.000 --> 00:13.000 position:A% passes
    • any character besides ' ' (space) between : and % will pass. This looks to me like a bug but I'd like to see if anyone else has found this to happen

A few things to note about the tests:

  • The first test for position is the absence of the cue setting tag, I think technically this test should work for the rest of the tests that use the :n% format as well hence its absence in the size tests.


Position

WEBVTT

00:11.000 --> 00:13.000 :10%


WEBVTT

00:11.000 --> 00:13.000 position:10%


WEBVTT

00:11.000 --> 00:13.000 position:A%


WEBVTT

00:11.000 --> 00:13.000 position:+%


WEBVTT

00:11.000 --> 00:13.000 position10%


WEBVTT

00:11.000 --> 00:13.000 position:10


Size

WEBVTT

00:11.000 --> 00:13.000 size:10%


WEBVTT

00:11.000 --> 00:13.000 size:A%


WEBVTT

00:11.000 --> 00:13.000 size:+%


WEBVTT

00:11.000 --> 00:13.000 size10%


WEBVTT

00:11.000 --> 00:13.000 size:10


Align

WEBVTT

00:11.000 --> 00:13.000 :start


WEBVTT

00:11.000 --> 00:13.000 align:start


WEBVTT

00:11.000 --> 00:13.000 align:middle


WEBVTT

00:11.000 --> 00:13.000 align:end


WEBVTT

00:11.000 --> 00:13.000 align:star


WEBVTT

00:11.000 --> 00:13.000 align: