This adds the moved tests to CTS as well. The moved unit tests are appropriate for CTS as they test data holder classes that need to function properly for apps to work. Test: atest FrameworksNetTests Test: atest CtsNetTestCases: added tests pass Bug: 129199900 Change-Id: I4c3d31ed595024af84093ca9110ed43633c383f4
30 lines
1000 B
Plaintext
30 lines
1000 B
Plaintext
//
|
|
// 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.
|
|
//
|
|
|
|
// Tests in this folder are included both in unit tests and CTS.
|
|
// They must be fast and stable, and exercise public or test APIs.
|
|
java_library {
|
|
name: "FrameworksNetCommonTests",
|
|
srcs: ["java/**/*.java"],
|
|
static_libs: [
|
|
"androidx.test.rules",
|
|
"frameworks-net-testutils",
|
|
"junit",
|
|
],
|
|
libs: [
|
|
"android.test.base.stubs",
|
|
],
|
|
} |