diff options
Diffstat (limited to 'tests/automotive/health/mediacenter/src/android/platform/scenario/mediacenter/testmedia/SwitchPlayback.java')
-rw-r--r-- | tests/automotive/health/mediacenter/src/android/platform/scenario/mediacenter/testmedia/SwitchPlayback.java | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/tests/automotive/health/mediacenter/src/android/platform/scenario/mediacenter/testmedia/SwitchPlayback.java b/tests/automotive/health/mediacenter/src/android/platform/scenario/mediacenter/testmedia/SwitchPlayback.java deleted file mode 100644 index 3c9108d28..000000000 --- a/tests/automotive/health/mediacenter/src/android/platform/scenario/mediacenter/testmedia/SwitchPlayback.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 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. - */ -package android.platform.test.scenario.mediacenter.testmedia; - -import android.platform.helpers.HelperAccessor; -import android.platform.helpers.IAutoMediaCenterMinimizeControlBarHelper; -import android.platform.helpers.IAutoMediaCenterNowPlayingHelper; -import android.platform.test.scenario.annotation.Scenario; - -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -/** Maximize and minimize playback screen in Test Media App. */ -@Scenario -@RunWith(JUnit4.class) -public class SwitchPlayback { - - static HelperAccessor<IAutoMediaCenterMinimizeControlBarHelper> sMinPlaybackHelper = - new HelperAccessor<>(IAutoMediaCenterMinimizeControlBarHelper.class); - - static HelperAccessor<IAutoMediaCenterNowPlayingHelper> sMaxPlaybackHelper = - new HelperAccessor<>(IAutoMediaCenterNowPlayingHelper.class); - - @Test - public void testSwitchPlayback() { - sMaxPlaybackHelper.get().minimizeNowPlaying(); - sMinPlaybackHelper.get().maximizeNowPlaying(); - } -} |