OLD | NEW |
| (Empty) |
1 Tests cue line position from settings. | |
2 | |
3 | |
4 *** Testing text track 0 | |
5 EXPECTED (cues.length == '7') OK | |
6 EXPECTED (cues[0].line == '0') OK | |
7 EXPECTED (cues[0].snapToLines == 'false') OK | |
8 EXPECTED (cues[1].line == '0') OK | |
9 EXPECTED (cues[1].snapToLines == 'true') OK | |
10 EXPECTED (cues[2].line == '50') OK | |
11 EXPECTED (cues[2].snapToLines == 'false') OK | |
12 EXPECTED (cues[3].line == '5') OK | |
13 EXPECTED (cues[3].snapToLines == 'true') OK | |
14 EXPECTED (cues[4].line == '100') OK | |
15 EXPECTED (cues[4].snapToLines == 'false') OK | |
16 EXPECTED (cues[5].line == '-1') OK | |
17 EXPECTED (cues[5].snapToLines == 'true') OK | |
18 EXPECTED (cues[6].line == '500') OK | |
19 EXPECTED (cues[6].snapToLines == 'true') OK | |
20 | |
21 *** Testing text track 1 | |
22 EXPECTED (cues.length == '6') OK | |
23 EXPECTED (cues[0].line == 'auto') OK | |
24 EXPECTED (cues[0].snapToLines == 'true') OK | |
25 EXPECTED (cues[1].line == 'auto') OK | |
26 EXPECTED (cues[1].snapToLines == 'true') OK | |
27 EXPECTED (cues[2].line == 'auto') OK | |
28 EXPECTED (cues[2].snapToLines == 'true') OK | |
29 EXPECTED (cues[3].line == 'auto') OK | |
30 EXPECTED (cues[3].snapToLines == 'true') OK | |
31 EXPECTED (cues[4].line == 'auto') OK | |
32 EXPECTED (cues[4].snapToLines == 'true') OK | |
33 EXPECTED (cues[5].line == 'auto') OK | |
34 EXPECTED (cues[5].snapToLines == 'true') OK | |
35 END OF TEST | |
36 | |
OLD | NEW |