Loading libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/CloseAllAppsWithAppHeaderExitTest.kt 0 → 100644 +34 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import com.android.wm.shell.flicker.service.desktopmode.scenarios.CloseAllAppsWithAppHeaderExit import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [CloseAllAppsWithAppHeaderExit]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class CloseAllAppsWithAppHeaderExitTest : CloseAllAppsWithAppHeaderExit() { @Test override fun closeAllAppsInDesktop() { super.closeAllAppsInDesktop() } } libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/DragAppWindowMultiWindowTest.kt 0 → 100644 +34 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import com.android.wm.shell.flicker.service.desktopmode.scenarios.DragAppWindowMultiWindow import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [DragAppWindowMultiWindow]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class DragAppWindowMultiWindowTest : DragAppWindowMultiWindow() { @Test override fun dragAppWindow() { super.dragAppWindow() } } libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/DragAppWindowSingleWindowTest.kt 0 → 100644 +34 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import com.android.wm.shell.flicker.service.desktopmode.scenarios.DragAppWindowSingleWindow import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [DragAppWindowSingleWindow]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class DragAppWindowSingleWindowTest : DragAppWindowSingleWindow() { @Test override fun dragAppWindow() { super.dragAppWindow() } } libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/EnterDesktopWithAppHandleMenuTest.kt 0 → 100644 +33 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import com.android.wm.shell.flicker.service.desktopmode.scenarios.EnterDesktopWithAppHandleMenu import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [EnterDesktopWithAppHandleMenu]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class EnterDesktopWithAppHandleMenuTest : EnterDesktopWithAppHandleMenu() { @Test override fun enterDesktopWithAppHandleMenu() { super.enterDesktopWithAppHandleMenu() } } libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/EnterDesktopWithDragTest.kt 0 → 100644 +35 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import android.tools.Rotation import com.android.wm.shell.flicker.service.desktopmode.scenarios.EnterDesktopWithDrag import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [EnterDesktopWithDrag]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class EnterDesktopWithDragTest : EnterDesktopWithDrag(Rotation.ROTATION_0) { @Test override fun enterDesktopWithDrag() { super.enterDesktopWithDrag() } } Loading
libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/CloseAllAppsWithAppHeaderExitTest.kt 0 → 100644 +34 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import com.android.wm.shell.flicker.service.desktopmode.scenarios.CloseAllAppsWithAppHeaderExit import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [CloseAllAppsWithAppHeaderExit]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class CloseAllAppsWithAppHeaderExitTest : CloseAllAppsWithAppHeaderExit() { @Test override fun closeAllAppsInDesktop() { super.closeAllAppsInDesktop() } }
libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/DragAppWindowMultiWindowTest.kt 0 → 100644 +34 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import com.android.wm.shell.flicker.service.desktopmode.scenarios.DragAppWindowMultiWindow import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [DragAppWindowMultiWindow]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class DragAppWindowMultiWindowTest : DragAppWindowMultiWindow() { @Test override fun dragAppWindow() { super.dragAppWindow() } }
libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/DragAppWindowSingleWindowTest.kt 0 → 100644 +34 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import com.android.wm.shell.flicker.service.desktopmode.scenarios.DragAppWindowSingleWindow import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [DragAppWindowSingleWindow]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class DragAppWindowSingleWindowTest : DragAppWindowSingleWindow() { @Test override fun dragAppWindow() { super.dragAppWindow() } }
libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/EnterDesktopWithAppHandleMenuTest.kt 0 → 100644 +33 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import com.android.wm.shell.flicker.service.desktopmode.scenarios.EnterDesktopWithAppHandleMenu import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [EnterDesktopWithAppHandleMenu]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class EnterDesktopWithAppHandleMenuTest : EnterDesktopWithAppHandleMenu() { @Test override fun enterDesktopWithAppHandleMenu() { super.enterDesktopWithAppHandleMenu() } }
libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/functional/EnterDesktopWithDragTest.kt 0 → 100644 +35 −0 Original line number Original line Diff line number Diff line /* * Copyright (C) 2024 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 com.android.wm.shell.flicker.service.desktopmode.functional import android.platform.test.annotations.Postsubmit import android.tools.Rotation import com.android.wm.shell.flicker.service.desktopmode.scenarios.EnterDesktopWithDrag import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.BlockJUnit4ClassRunner /** Functional test for [EnterDesktopWithDrag]. */ @RunWith(BlockJUnit4ClassRunner::class) @Postsubmit open class EnterDesktopWithDragTest : EnterDesktopWithDrag(Rotation.ROTATION_0) { @Test override fun enterDesktopWithDrag() { super.enterDesktopWithDrag() } }