From 391e3c98c74fd0c82b83930ad2212650d40582c0 Mon Sep 17 00:00:00 2001 From: "Rakib M. Hasan" Date: Fri, 24 Mar 2023 18:26:22 +0000 Subject: WebView: Add an Robo app crawler c-suite test suite This test suite will install WebView and the third party app and then crawl it with the Robo app crawler. Test: csuite-tradefed run webview-app-launch Bug: 206871132 Change-Id: I56fa75683a51c03908956b821312469be5c47975 --- test_targets/webview-app-crawl/Android.bp | 23 ++++++++++++++++ test_targets/webview-app-crawl/OWNERS | 2 ++ test_targets/webview-app-crawl/plan.xml | 19 +++++++++++++ .../webview-app-crawl/ui-automator-mode.xml | 31 ++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 test_targets/webview-app-crawl/Android.bp create mode 100644 test_targets/webview-app-crawl/OWNERS create mode 100644 test_targets/webview-app-crawl/plan.xml create mode 100644 test_targets/webview-app-crawl/ui-automator-mode.xml (limited to 'test_targets/webview-app-crawl') diff --git a/test_targets/webview-app-crawl/Android.bp b/test_targets/webview-app-crawl/Android.bp new file mode 100644 index 0000000..57d4192 --- /dev/null +++ b/test_targets/webview-app-crawl/Android.bp @@ -0,0 +1,23 @@ +// 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 { + default_applicable_licenses: ["Android-Apache-2.0"], +} + +csuite_test { + name: "webview-app-crawl", + test_plan_include: "plan.xml", + test_config_template: "ui-automator-mode.xml", +} diff --git a/test_targets/webview-app-crawl/OWNERS b/test_targets/webview-app-crawl/OWNERS new file mode 100644 index 0000000..af3a7c8 --- /dev/null +++ b/test_targets/webview-app-crawl/OWNERS @@ -0,0 +1,2 @@ +amitku@google.com +rmhasan@google.com \ No newline at end of file diff --git a/test_targets/webview-app-crawl/plan.xml b/test_targets/webview-app-crawl/plan.xml new file mode 100644 index 0000000..83c3e05 --- /dev/null +++ b/test_targets/webview-app-crawl/plan.xml @@ -0,0 +1,19 @@ + + + + + + diff --git a/test_targets/webview-app-crawl/ui-automator-mode.xml b/test_targets/webview-app-crawl/ui-automator-mode.xml new file mode 100644 index 0000000..ec44190 --- /dev/null +++ b/test_targets/webview-app-crawl/ui-automator-mode.xml @@ -0,0 +1,31 @@ + + + + + + + + + + -- cgit v1.2.3