blob: 57416be9e0fb0bb31e15141334c5aacb58dc58a7 [file] [log] [blame]
Tests cue text position and alignment from settings.
*** Testing text track 0
EXPECTED (cues.length == '3') OK
EXPECTED (cues[0].position == '10') OK
EXPECTED (cues[0].align == 'start') OK
EXPECTED (cues[1].position == '20') OK
EXPECTED (cues[1].align == 'center') OK
EXPECTED (cues[2].position == '80') OK
EXPECTED (cues[2].align == 'end') OK
*** Testing text track 1
EXPECTED (cues.length == '3') OK
EXPECTED (cues[0].position == '10') OK
EXPECTED (cues[0].align == 'center') OK
EXPECTED (cues[1].position == 'auto') OK
EXPECTED (cues[1].align == 'center') OK
EXPECTED (cues[2].position == 'auto') OK
EXPECTED (cues[2].align == 'center') OK
END OF TEST