diff options
author | Roshan Pius <rpius@google.com> | 2019-12-12 13:44:39 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-12-12 14:54:34 -0800 |
commit | 71533ced02bc6cd0acbda91da4c72aaeeb86b1da (patch) | |
tree | e85b9b49d52c89f3fd6ac41be63a34a957a6ca0a /tests | |
parent | 7f68f5503380d67a5cd7c758ba493dedb00358e5 (diff) |
wifi: Create test apex for install tests
Also, remove redundnat "required" tag in the apex.
Bug: 146163587
Test: atest wifi_e2e_tests
Change-Id: I13baa920725375379de06c12f12ee07bd8d57460
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/apex/Android.bp | 28 | ||||
-rw-r--r-- | tests/wifitests/apex/test_apex_manifest.json | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/tests/wifitests/apex/Android.bp b/tests/wifitests/apex/Android.bp new file mode 100644 index 000000000..13b188044 --- /dev/null +++ b/tests/wifitests/apex/Android.bp @@ -0,0 +1,28 @@ +// 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. + +// A test version of wifi apex. +// It has a version code that should beat a "real" APEX and enables end-to-end +// installation testing on devices with the latests real data. +apex { + name: "test_com.android.wifi", + visibility: [ + "//system/apex/tests", + ], + defaults: ["com.android.wifi-defaults"], + manifest: "test_apex_manifest.json", + file_contexts: ":com.android.wifi-file_contexts", + // Test APEX, should never be installed + installable: false, +} diff --git a/tests/wifitests/apex/test_apex_manifest.json b/tests/wifitests/apex/test_apex_manifest.json new file mode 100644 index 000000000..3272a0d90 --- /dev/null +++ b/tests/wifitests/apex/test_apex_manifest.json @@ -0,0 +1,4 @@ +{ + "name": "com.android.wifi", + "version": 2147483647 +} |