Merge "Remove FlickerService tests" into main
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.CopyContentInSplit
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class CopyContentInSplitGesturalNavLandscape : CopyContentInSplit(Rotation.ROTATION_90) {
|
||||
@ExpectedScenarios([]) @Test override fun copyContentInSplit() = super.copyContentInSplit()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.CopyContentInSplit
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class CopyContentInSplitGesturalNavPortrait : CopyContentInSplit(Rotation.ROTATION_0) {
|
||||
@ExpectedScenarios([]) @Test override fun copyContentInSplit() = super.copyContentInSplit()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.DismissSplitScreenByDivider
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class DismissSplitScreenByDividerGesturalNavLandscape :
|
||||
DismissSplitScreenByDivider(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_EXIT"])
|
||||
@Test
|
||||
override fun dismissSplitScreenByDivider() = super.dismissSplitScreenByDivider()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.DismissSplitScreenByDivider
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class DismissSplitScreenByDividerGesturalNavPortrait :
|
||||
DismissSplitScreenByDivider(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_EXIT"])
|
||||
@Test
|
||||
override fun dismissSplitScreenByDivider() = super.dismissSplitScreenByDivider()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.DismissSplitScreenByGoHome
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class DismissSplitScreenByGoHomeGesturalNavLandscape :
|
||||
DismissSplitScreenByGoHome(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_EXIT"])
|
||||
@Test
|
||||
override fun dismissSplitScreenByGoHome() = super.dismissSplitScreenByGoHome()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.DismissSplitScreenByGoHome
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class DismissSplitScreenByGoHomeGesturalNavPortrait :
|
||||
DismissSplitScreenByGoHome(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_EXIT"])
|
||||
@Test
|
||||
override fun dismissSplitScreenByGoHome() = super.dismissSplitScreenByGoHome()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.DragDividerToResize
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class DragDividerToResizeGesturalNavLandscape : DragDividerToResize(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_RESIZE"])
|
||||
@Test
|
||||
override fun dragDividerToResize() = super.dragDividerToResize()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.DragDividerToResize
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class DragDividerToResizeGesturalNavPortrait : DragDividerToResize(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_RESIZE"])
|
||||
@Test
|
||||
override fun dragDividerToResize() = super.dragDividerToResize()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromAllApps
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenByDragFromAllAppsGesturalNavLandscape :
|
||||
EnterSplitScreenByDragFromAllApps(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenByDragFromAllApps() = super.enterSplitScreenByDragFromAllApps()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromAllApps
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenByDragFromAllAppsGesturalNavPortrait :
|
||||
EnterSplitScreenByDragFromAllApps(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenByDragFromAllApps() = super.enterSplitScreenByDragFromAllApps()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromNotification
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenByDragFromNotificationGesturalNavLandscape :
|
||||
EnterSplitScreenByDragFromNotification(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenByDragFromNotification() =
|
||||
super.enterSplitScreenByDragFromNotification()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromNotification
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenByDragFromNotificationGesturalNavPortrait :
|
||||
EnterSplitScreenByDragFromNotification(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenByDragFromNotification() =
|
||||
super.enterSplitScreenByDragFromNotification()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromShortcut
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenByDragFromShortcutGesturalNavLandscape :
|
||||
EnterSplitScreenByDragFromShortcut(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenByDragFromShortcut() = super.enterSplitScreenByDragFromShortcut()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromShortcut
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenByDragFromShortcutGesturalNavPortrait :
|
||||
EnterSplitScreenByDragFromShortcut(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenByDragFromShortcut() = super.enterSplitScreenByDragFromShortcut()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromTaskbar
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenByDragFromTaskbarGesturalNavLandscape :
|
||||
EnterSplitScreenByDragFromTaskbar(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenByDragFromTaskbar() = super.enterSplitScreenByDragFromTaskbar()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromTaskbar
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenByDragFromTaskbarGesturalNavPortrait :
|
||||
EnterSplitScreenByDragFromTaskbar(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenByDragFromTaskbar() = super.enterSplitScreenByDragFromTaskbar()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenFromOverview
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenFromOverviewGesturalNavLandscape :
|
||||
EnterSplitScreenFromOverview(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenFromOverview() = super.enterSplitScreenFromOverview()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenFromOverview
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class EnterSplitScreenFromOverviewGesturalNavPortrait :
|
||||
EnterSplitScreenFromOverview(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["SPLIT_SCREEN_ENTER"])
|
||||
@Test
|
||||
override fun enterSplitScreenFromOverview() = super.enterSplitScreenFromOverview()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchAppByDoubleTapDivider
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchAppByDoubleTapDividerGesturalNavLandscape :
|
||||
SwitchAppByDoubleTapDivider(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios([])
|
||||
@Test
|
||||
override fun switchAppByDoubleTapDivider() = super.switchAppByDoubleTapDivider()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchAppByDoubleTapDivider
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchAppByDoubleTapDividerGesturalNavPortrait :
|
||||
SwitchAppByDoubleTapDivider(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios([])
|
||||
@Test
|
||||
override fun switchAppByDoubleTapDivider() = super.switchAppByDoubleTapDivider()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBackToSplitFromAnotherApp
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchBackToSplitFromAnotherAppGesturalNavLandscape :
|
||||
SwitchBackToSplitFromAnotherApp(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun switchBackToSplitFromAnotherApp() = super.switchBackToSplitFromAnotherApp()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBackToSplitFromAnotherApp
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchBackToSplitFromAnotherAppGesturalNavPortrait :
|
||||
SwitchBackToSplitFromAnotherApp(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun switchBackToSplitFromAnotherApp() = super.switchBackToSplitFromAnotherApp()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBackToSplitFromHome
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchBackToSplitFromHomeGesturalNavLandscape :
|
||||
SwitchBackToSplitFromHome(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun switchBackToSplitFromHome() = super.switchBackToSplitFromHome()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBackToSplitFromHome
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchBackToSplitFromHomeGesturalNavPortrait :
|
||||
SwitchBackToSplitFromHome(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun switchBackToSplitFromHome() = super.switchBackToSplitFromHome()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBackToSplitFromRecent
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchBackToSplitFromRecentGesturalNavLandscape :
|
||||
SwitchBackToSplitFromRecent(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun switchBackToSplitFromRecent() = super.switchBackToSplitFromRecent()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBackToSplitFromRecent
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchBackToSplitFromRecentGesturalNavPortrait :
|
||||
SwitchBackToSplitFromRecent(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun switchBackToSplitFromRecent() = super.switchBackToSplitFromRecent()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBetweenSplitPairs
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchBetweenSplitPairsGesturalNavLandscape : SwitchBetweenSplitPairs(Rotation.ROTATION_90) {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun switchBetweenSplitPairs() = super.switchBetweenSplitPairs()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.Rotation
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBetweenSplitPairs
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class SwitchBetweenSplitPairsGesturalNavPortrait : SwitchBetweenSplitPairs(Rotation.ROTATION_0) {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun switchBetweenSplitPairs() = super.switchBetweenSplitPairs()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.UnlockKeyguardToSplitScreen
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class UnlockKeyguardToSplitScreenGesturalNavLandscape : UnlockKeyguardToSplitScreen() {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun unlockKeyguardToSplitScreen() = super.unlockKeyguardToSplitScreen()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 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.splitscreen.flicker
|
||||
|
||||
import android.tools.common.flicker.FlickerConfig
|
||||
import android.tools.common.flicker.annotation.ExpectedScenarios
|
||||
import android.tools.common.flicker.annotation.FlickerConfigProvider
|
||||
import android.tools.common.flicker.config.FlickerConfig
|
||||
import android.tools.common.flicker.config.FlickerServiceConfig
|
||||
import android.tools.device.flicker.junit.FlickerServiceJUnit4ClassRunner
|
||||
import com.android.wm.shell.flicker.service.splitscreen.scenarios.UnlockKeyguardToSplitScreen
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
@RunWith(FlickerServiceJUnit4ClassRunner::class)
|
||||
class UnlockKeyguardToSplitScreenGesturalNavPortrait : UnlockKeyguardToSplitScreen() {
|
||||
|
||||
@ExpectedScenarios(["QUICKSWITCH"])
|
||||
@Test
|
||||
override fun unlockKeyguardToSplitScreen() = super.unlockKeyguardToSplitScreen()
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@FlickerConfigProvider
|
||||
fun flickerConfigProvider(): FlickerConfig =
|
||||
FlickerConfig().use(FlickerServiceConfig.DEFAULT)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user