File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 13
13
import java .text .SimpleDateFormat ;
14
14
import java .util .Date ;
15
15
16
- import static org .junit .jupiter .api .Assertions .*;
16
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
17
+ import static org .junit .jupiter .api .Assertions .assertTrue ;
17
18
18
19
class TimedTextMarkupLanguageParserTest {
19
20
@ Test
@@ -150,16 +151,6 @@ void convert_ttml_to_srt() {
150
151
}
151
152
}
152
153
153
- @ Test
154
- @ DisplayName ("Fail for unsupported TTML format" )
155
- void unsupported_ttml_file_format () {
156
- try (TimedTextMarkupLanguageParser parser = new TimedTextMarkupLanguageParser ()) {
157
- var file = new File ("src/test/resources/ttml/ttml_fail_test_file.ttml" );
158
- var res = parser .parse (file .toPath ());
159
- assertFalse (res );
160
- }
161
- }
162
-
163
154
@ Test
164
155
@ DisplayName ("Check alignment conversion" )
165
156
void convertAlignment () {
You can’t perform that action at this time.
0 commit comments