summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorambuluri <ambuluri@google.com>2023-11-08 19:16:31 +0000
committerambuluri <ambuluri@google.com>2023-11-08 19:16:44 +0000
commit9733d417a393521d659ae1b67d685c8e5cff3ba2 (patch)
tree5b09670256e69d395f7299d807a44a4eabc54696
parent820432dc28fb0035c799f2ef73912e482c3e65dd (diff)
downloadcatbox-9733d417a393521d659ae1b67d685c8e5cff3ba2.tar.gz
New Test for Admin user grant permissions on Admin user Grant Ppermissions.xml
Test: Locally Bug: TBD Change-Id: Ia2a5f710102acb521c68214d5ee972cdfb4e3e5d
-rw-r--r--tools/catbox-tradefed/res/config/catbox-functional-admin-user-grant-permissions.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/catbox-tradefed/res/config/catbox-functional-admin-user-grant-permissions.xml b/tools/catbox-tradefed/res/config/catbox-functional-admin-user-grant-permissions.xml
new file mode 100644
index 0000000..ea1afcd
--- /dev/null
+++ b/tools/catbox-tradefed/res/config/catbox-functional-admin-user-grant-permissions.xml
@@ -0,0 +1,34 @@
+<!--
+ Copyright (C) 2023 Google Inc.
+
+ 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.
+-->
+<configuration description="Complete Automotive Tests - AdminUserGrantPermissions Functional Tests.">
+ <!-- Common Base -->
+ <include name="catbox-common"/>
+
+ <!-- Device Preparers -->
+ <include name="catbox-preparer"/>
+
+ <!-- Plan -->
+ <option name="plan" value=" functional_tests.catbox_functional_admin_user_grant_permissions
+"/>
+
+ <!-- Test Args -->
+ <option name="compatibility:test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:runner:androidx.test.runner.AndroidJUnitRunner" />
+ <option name="compatibility:test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:package:android.platform.tests" />
+ <option name="compatibility:test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:no-rerun:true" />
+
+ <!-- Tests -->
+ <option name="compatibility:include-filter" value="AndroidAutomotiveAdminUserGrantPermissionsTests android.platform.tests.GrantPermissionsToNonAdminUserTest" />
+</configuration> \ No newline at end of file