From db4afbba9213cff97bcf7f2acfd3f547d35aa534 Mon Sep 17 00:00:00 2001 From: vadimt Date: Tue, 30 Apr 2019 18:19:50 -0700 Subject: [PATCH] Adding more activities for inproc tests So that virtual devices can scroll all apps Change-Id: I7aeca9e73e4089431624ab88fc9216a60c575039 --- tests/AndroidManifest-common.xml | 72 +++++++++++++++++++ .../testcomponent/MainActivity1.java | 24 ------- .../testcomponent/MainActivity10.java | 24 ------- .../testcomponent/MainActivity2.java | 24 ------- .../testcomponent/MainActivity3.java | 24 ------- .../testcomponent/MainActivity4.java | 24 ------- .../testcomponent/MainActivity5.java | 24 ------- .../testcomponent/MainActivity6.java | 24 ------- .../testcomponent/MainActivity7.java | 24 ------- .../testcomponent/MainActivity8.java | 24 ------- .../testcomponent/MainActivity9.java | 24 ------- 11 files changed, 72 insertions(+), 240 deletions(-) delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity1.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity10.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity2.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity3.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity4.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity5.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity6.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity7.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity8.java delete mode 100644 tests/src/com/android/launcher3/testcomponent/MainActivity9.java diff --git a/tests/AndroidManifest-common.xml b/tests/AndroidManifest-common.xml index 3686493347..4051fbd70c 100644 --- a/tests/AndroidManifest-common.xml +++ b/tests/AndroidManifest-common.xml @@ -111,5 +111,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity1.java b/tests/src/com/android/launcher3/testcomponent/MainActivity1.java deleted file mode 100644 index 7ef0ab6023..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity1.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity1 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity10.java b/tests/src/com/android/launcher3/testcomponent/MainActivity10.java deleted file mode 100644 index 11df0d2d2a..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity10.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity10 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity2.java b/tests/src/com/android/launcher3/testcomponent/MainActivity2.java deleted file mode 100644 index dfbba3ef1f..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity2.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity2 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity3.java b/tests/src/com/android/launcher3/testcomponent/MainActivity3.java deleted file mode 100644 index 87d77d97ee..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity3.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity3 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity4.java b/tests/src/com/android/launcher3/testcomponent/MainActivity4.java deleted file mode 100644 index dabd2c5af6..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity4.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity4 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity5.java b/tests/src/com/android/launcher3/testcomponent/MainActivity5.java deleted file mode 100644 index e58210cecf..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity5.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity5 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity6.java b/tests/src/com/android/launcher3/testcomponent/MainActivity6.java deleted file mode 100644 index 005d248a14..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity6.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity6 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity7.java b/tests/src/com/android/launcher3/testcomponent/MainActivity7.java deleted file mode 100644 index 0f21549393..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity7.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity7 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity8.java b/tests/src/com/android/launcher3/testcomponent/MainActivity8.java deleted file mode 100644 index 5ba5c5586f..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity8.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity8 extends Activity { -} diff --git a/tests/src/com/android/launcher3/testcomponent/MainActivity9.java b/tests/src/com/android/launcher3/testcomponent/MainActivity9.java deleted file mode 100644 index 82b1fcdbee..0000000000 --- a/tests/src/com/android/launcher3/testcomponent/MainActivity9.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2019 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.launcher3.testcomponent; - -import android.app.Activity; - -/** - * Base activity with utility methods to help automate testing. - */ -public class MainActivity9 extends Activity { -}