Move tests into a mh package.

PiperOrigin-RevId: 412438389
This commit is contained in:
samrobinson 2021-11-26 14:09:35 +00:00 committed by tonihei
parent 60ce9ae345
commit 2ba7422da3
7 changed files with 40 additions and 15 deletions

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.media3.transformer;
package androidx.media3.transformer.mh;
import static com.google.common.truth.Truth.assertWithMessage;
import static java.util.concurrent.TimeUnit.SECONDS;
@ -23,6 +23,7 @@ import android.net.Uri;
import androidx.annotation.Nullable;
import androidx.media3.common.MediaItem;
import androidx.media3.common.util.Assertions;
import androidx.media3.transformer.Transformer;
import androidx.test.platform.app.InstrumentationRegistry;
import java.io.File;
import java.io.IOException;

View File

@ -13,12 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.media3.transformer;
package androidx.media3.transformer.mh;
import static androidx.media3.transformer.AndroidTestUtil.MP4_ASSET_URI_STRING;
import static androidx.media3.transformer.AndroidTestUtil.runTransformer;
import static androidx.media3.transformer.mh.AndroidTestUtil.MP4_ASSET_URI_STRING;
import static androidx.media3.transformer.mh.AndroidTestUtil.runTransformer;
import android.content.Context;
import androidx.media3.transformer.Transformer;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;

View File

@ -13,12 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.media3.transformer;
package androidx.media3.transformer.mh;
import static androidx.media3.transformer.AndroidTestUtil.MP4_ASSET_URI_STRING;
import static androidx.media3.transformer.AndroidTestUtil.runTransformer;
import static androidx.media3.transformer.mh.AndroidTestUtil.MP4_ASSET_URI_STRING;
import static androidx.media3.transformer.mh.AndroidTestUtil.runTransformer;
import android.content.Context;
import androidx.media3.transformer.Transformer;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;

View File

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.media3.transformer;
package androidx.media3.transformer.mh;
import static androidx.media3.transformer.AndroidTestUtil.runTransformer;
import static androidx.media3.transformer.mh.AndroidTestUtil.runTransformer;
import static com.google.common.truth.Truth.assertWithMessage;
import android.content.Context;
import androidx.media3.common.MimeTypes;
import androidx.media3.transformer.Transformer;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import java.util.HashSet;

View File

@ -13,12 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.media3.transformer;
package androidx.media3.transformer.mh;
import static androidx.media3.transformer.AndroidTestUtil.SEF_ASSET_URI_STRING;
import static androidx.media3.transformer.AndroidTestUtil.runTransformer;
import static androidx.media3.transformer.mh.AndroidTestUtil.SEF_ASSET_URI_STRING;
import static androidx.media3.transformer.mh.AndroidTestUtil.runTransformer;
import android.content.Context;
import androidx.media3.transformer.Transformer;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;

View File

@ -13,12 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.media3.transformer;
package androidx.media3.transformer.mh;
import static androidx.media3.transformer.AndroidTestUtil.MP4_ASSET_URI_STRING;
import static androidx.media3.transformer.AndroidTestUtil.runTransformer;
import static androidx.media3.transformer.mh.AndroidTestUtil.MP4_ASSET_URI_STRING;
import static androidx.media3.transformer.mh.AndroidTestUtil.runTransformer;
import android.content.Context;
import androidx.media3.transformer.Transformer;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;

View File

@ -0,0 +1,19 @@
/*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@NonNullApi
package androidx.media3.transformer.mh;
import androidx.media3.common.util.NonNullApi;