Rename TransformerTest to TransformerEndToEndTest.

TransformerTest sounds like a unit test for Transformer but these
tests test behaviour that involves multiple stages of the pipeline.

PiperOrigin-RevId: 425378369
This commit is contained in:
hschlueter 2022-01-31 16:55:04 +00:00 committed by Andrew Lewis
parent a26d7b821c
commit 81b194b28b
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ import org.junit.runner.RunWith;
* robolectric. * robolectric.
*/ */
@RunWith(AndroidJUnit4.class) @RunWith(AndroidJUnit4.class)
public class TransformerTest { public class TransformerEndToEndTest {
private static final String VP9_VIDEO_URI_STRING = "asset:///media/vp9/bear-vp9.webm"; private static final String VP9_VIDEO_URI_STRING = "asset:///media/vp9/bear-vp9.webm";
private static final String AVC_VIDEO_URI_STRING = "asset:///media/mp4/sample.mp4"; private static final String AVC_VIDEO_URI_STRING = "asset:///media/mp4/sample.mp4";

View File

@ -63,9 +63,9 @@ import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.robolectric.shadows.ShadowMediaCodec; import org.robolectric.shadows.ShadowMediaCodec;
/** Unit test for {@link Transformer}. */ /** End-to-end test for {@link Transformer}. */
@RunWith(AndroidJUnit4.class) @RunWith(AndroidJUnit4.class)
public final class TransformerTest { public final class TransformerEndToEndTest {
// TODO(b/214973843): Disable fallback for all tests that aren't specifically testing fallback. // TODO(b/214973843): Disable fallback for all tests that aren't specifically testing fallback.
private static final String URI_PREFIX = "asset:///media/"; private static final String URI_PREFIX = "asset:///media/";