Create the first Nearby Mainline e2e test: SeekerDiscoverProviderTest.
Design doc: go/nearby-mainline-snippet
Test: atest -v CtsSeekerDiscoverProviderTest
Bug: 214015364
Change-Id: I4205b7e4412a33b00221d0b0b0e5277c1e2f620e
diff --git a/nearby/tests/multidevices/host/Android.bp b/nearby/tests/multidevices/host/Android.bp
new file mode 100644
index 0000000..b0adfba
--- /dev/null
+++ b/nearby/tests/multidevices/host/Android.bp
@@ -0,0 +1,42 @@
+// Copyright (C) 2022 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"],
+}
+
+// Run the tests: atest -v CtsSeekerDiscoverProviderTest
+python_test_host {
+ name: "CtsSeekerDiscoverProviderTest",
+ main: "seeker_discover_provider_test.py",
+ srcs: ["seeker_discover_provider_test.py"],
+ libs: ["NearbyMultiDevicesHostHelper"],
+ test_suites: [
+ "cts",
+ "general-tests",
+ ],
+ test_options: {
+ unit_test: false,
+ },
+ data: [
+ // Package the snippet with the Mobly test
+ ":NearbyMultiDevicesClientsSnippets",
+ ],
+}
+
+python_library_host {
+ name: "NearbyMultiDevicesHostHelper",
+ srcs: ["*.py"],
+ exclude_srcs: ["*_test.py"],
+}
\ No newline at end of file