DelegatingSubtitleDecoder tests refactor
PiperOrigin-RevId: 548991428
This commit is contained in:
parent
b0ec2cc701
commit
9520180fbb
@ -27,9 +27,9 @@ import java.io.IOException;
|
|||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
/** Unit test for a DelegatingSubtitleDecoder backed by {@link SubripParser}. */
|
/** Unit test for a {@link DelegatingSubtitleDecoder} backed by {@link SubripParser}. */
|
||||||
@RunWith(AndroidJUnit4.class)
|
@RunWith(AndroidJUnit4.class)
|
||||||
public class DelegatingSubtitleDecoderWithSubripParserTest {
|
public final class DelegatingSubtitleDecoderWithSubripParserTest {
|
||||||
|
|
||||||
private static final String EMPTY_FILE = "media/subrip/empty";
|
private static final String EMPTY_FILE = "media/subrip/empty";
|
||||||
private static final String TYPICAL_FILE = "media/subrip/typical";
|
private static final String TYPICAL_FILE = "media/subrip/typical";
|
||||||
|
@ -34,7 +34,7 @@ import org.junit.runner.RunWith;
|
|||||||
|
|
||||||
/** Unit test for a {@link DelegatingSubtitleDecoder} backed by {@link Tx3gParser}. */
|
/** Unit test for a {@link DelegatingSubtitleDecoder} backed by {@link Tx3gParser}. */
|
||||||
@RunWith(AndroidJUnit4.class)
|
@RunWith(AndroidJUnit4.class)
|
||||||
public final class DelegatingDecoderWithTx3gParserTest {
|
public final class DelegatingSubtitleDecoderWithTx3gParserTest {
|
||||||
private static final String NO_SUBTITLE = "media/tx3g/no_subtitle";
|
private static final String NO_SUBTITLE = "media/tx3g/no_subtitle";
|
||||||
private static final String SAMPLE_JUST_TEXT = "media/tx3g/sample_just_text";
|
private static final String SAMPLE_JUST_TEXT = "media/tx3g/sample_just_text";
|
||||||
private static final String SAMPLE_WITH_STYL = "media/tx3g/sample_with_styl";
|
private static final String SAMPLE_WITH_STYL = "media/tx3g/sample_with_styl";
|
Loading…
x
Reference in New Issue
Block a user