Closed sebcreme closed 2 years ago
Could you provide a unit test with an arabic subtitle?
Yes, here is an arabic test and arabic stl file.
Test with the arabic file are failing. TTIs are correctly extracted but cues are empty
testCueRegion(fr.noop.subtitle.stl.ArabicStlParserTest) Time elapsed: 0.002 sec <<< ERROR! java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:657) at java.util.ArrayList.get(ArrayList.java:433) at fr.noop.subtitle.stl.ArabicStlParserTest.setUp(ArabicStlParserTest.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
There was an error when reading cct field. Found while reading arabic subtitles.