OLD | NEW |
1 Tests cue text position and alignment from settings. | 1 Tests cue text position and alignment from settings. |
2 | 2 |
3 | 3 |
4 *** Testing text track 0 | 4 *** Testing text track 0 |
5 EXPECTED (cues.length == '3') OK | 5 EXPECTED (cues.length == '3') OK |
6 EXPECTED (cues[0].position == '10') OK | 6 EXPECTED (cues[0].position == '10') OK |
7 EXPECTED (cues[0].align == 'start') OK | 7 EXPECTED (cues[0].align == 'start') OK |
8 EXPECTED (cues[1].position == '20') OK | 8 EXPECTED (cues[1].position == '20') OK |
9 EXPECTED (cues[1].align == 'middle') OK | 9 EXPECTED (cues[1].align == 'middle') OK |
10 EXPECTED (cues[2].position == '80') OK | 10 EXPECTED (cues[2].position == '80') OK |
11 EXPECTED (cues[2].align == 'end') OK | 11 EXPECTED (cues[2].align == 'end') OK |
12 | 12 |
13 *** Testing text track 1 | 13 *** Testing text track 1 |
14 EXPECTED (cues.length == '3') OK | 14 EXPECTED (cues.length == '3') OK |
15 EXPECTED (cues[0].position == '10') OK | 15 EXPECTED (cues[0].position == '10') OK |
16 EXPECTED (cues[0].align == 'middle') OK | 16 EXPECTED (cues[0].align == 'middle') OK |
17 EXPECTED (cues[1].position == '50') OK | 17 EXPECTED (cues[1].position == 'auto') OK |
18 EXPECTED (cues[1].align == 'middle') OK | 18 EXPECTED (cues[1].align == 'middle') OK |
19 EXPECTED (cues[2].position == '50') OK | 19 EXPECTED (cues[2].position == 'auto') OK |
20 EXPECTED (cues[2].align == 'middle') OK | 20 EXPECTED (cues[2].align == 'middle') OK |
21 END OF TEST | 21 END OF TEST |
22 | 22 |
OLD | NEW |