WorkflowTest and IPrintManagerParametersTest extend BasePrintTest from CtsPrintTestCases, which means they now try to load a helper when BasePrintTest.setUp() runs. Add the helper installer target preparer and package to their build files so that these can be found as expected. With UiDevice being removed from BasePrintTest, also move getUiDevice() over into the internal tests directly so that they can continue using it. Bug: 153727434 Test: atest PrintSpoolerOutOfProcessTests android.test.IPrintManagerParametersTest Change-Id: I7ff580c4288c83a69e319ff3668dcb98b11e4f41
32 lines
1016 B
Plaintext
32 lines
1016 B
Plaintext
// Copyright (C) 2016 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.
|
|
|
|
android_test {
|
|
name: "PrintSpoolerOutOfProcessTests",
|
|
|
|
srcs: ["src/**/*.java"],
|
|
|
|
libs: ["android.test.runner.stubs"],
|
|
static_libs: [
|
|
"androidx.test.rules",
|
|
"ub-uiautomator",
|
|
"mockito-target-minus-junit4",
|
|
"print-test-util-lib",
|
|
],
|
|
|
|
sdk_version: "test_current",
|
|
test_suites: ["device-tests"],
|
|
required: ["com.android.cts.helpers.aosp"],
|
|
}
|