blob: 009ee5558e54157bcc3f976b4edeb62dff69d2d7 [file] [log] [blame]
Tests cue alignment from settings.
*** Testing text track 0
EXPECTED (cues.length == '4') OK
EXPECTED (cues[0].align == 'start') OK
EXPECTED (cues[1].align == 'middle') OK
EXPECTED (cues[2].align == 'end') OK
EXPECTED (cues[3].align == 'middle') OK
*** Testing text track 1
EXPECTED (cues.length == '4') OK
EXPECTED (cues[0].align == 'start') OK
EXPECTED (cues[1].align == 'middle') OK
EXPECTED (cues[2].align == 'end') OK
EXPECTED (cues[3].align == 'middle') OK
*** Testing text track 2
EXPECTED (cues.length == '4') OK
EXPECTED (cues[0].align == 'middle') OK
EXPECTED (cues[1].align == 'middle') OK
EXPECTED (cues[2].align == 'middle') OK
EXPECTED (cues[3].align == 'middle') OK
END OF TEST