Skip to content

Commit 9ace3e9

Browse files
brettchabotcopybara-androidxtest
authored andcommitted
Remove testonly = 0 from bazel targets.
This is a prerequisite to moving to new bazel version, where junit is marked testonly = 1. PiperOrigin-RevId: 737766824
1 parent bcf8265 commit 9ace3e9

File tree

59 files changed

+0
-110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+0
-110
lines changed

core/java/androidx/test/core/BUILD

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,13 @@ licenses(["notice"])
3030
# for the bootstrap activities
3131
android_library(
3232
name = "manifest",
33-
testonly = 0,
3433
exports_manifest = 1,
3534
manifest = "AndroidManifest.xml",
3635
resource_files = glob(["res/**"]),
3736
)
3837

3938
kt_android_library(
4039
name = "core_internal",
41-
testonly = 0,
4240
srcs = glob(
4341
[
4442
"**/*.java",
@@ -67,7 +65,6 @@ android_library(
6765

6866
android_library(
6967
name = "core_not_test_only",
70-
testonly = 0,
7168
visibility = ["//espresso/core/java/androidx/test/espresso:__subpackages__"],
7269
exports = [":core_internal"],
7370
)

espresso/contrib/java/androidx/test/espresso/contrib/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ COMMON_JAVACOPTS = [
7070

7171
jetify_android_library(
7272
name = "recycler_view",
73-
testonly = 0,
7473
srcs = ["RecyclerViewActions.java"],
7574
javacopts = COMMON_JAVACOPTS,
7675
jetify_sources = True,

espresso/core/java/androidx/test/espresso/BUILD

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ INTERNAL_API_ANNOTATION = [
6767

6868
android_library(
6969
name = "view-interaction",
70-
testonly = 0,
7170
srcs = VIEW_INTERACTION,
7271
visibility = ["//visibility:private"],
7372
deps = [
@@ -102,7 +101,6 @@ ESPRESSO_GRAPH = [
102101

103102
android_library(
104103
name = "espresso-graph",
105-
testonly = 0,
106104
srcs = ESPRESSO_GRAPH,
107105
visibility = ["//visibility:private"],
108106
deps = [
@@ -123,7 +121,6 @@ android_library(
123121

124122
android_library(
125123
name = "espresso",
126-
testonly = 0,
127124
srcs = glob(
128125
["*.java"],
129126
exclude = BASE_LAYER_INTERFACES + PUBLIC_FRAMEWORK_LAYER + ESPRESSO_GRAPH + VIEW_INTERACTION + INTERNAL_API_ANNOTATION,
@@ -173,7 +170,6 @@ android_library(
173170

174171
android_library(
175172
name = "framework",
176-
testonly = 0,
177173
srcs = PUBLIC_FRAMEWORK_LAYER,
178174
deps = [
179175
":interface",
@@ -184,7 +180,6 @@ android_library(
184180

185181
android_library(
186182
name = "interface",
187-
testonly = 0,
188183
srcs = BASE_LAYER_INTERFACES,
189184
manifest = "AndroidManifest.xml",
190185
deps = [

espresso/core/java/androidx/test/espresso/action/BUILD

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ COMMON_JAVACOPTS = [
2323

2424
android_library(
2525
name = "adapter_view_protocol",
26-
testonly = 0,
2726
srcs = ADAPTER_VIEW_PROTOCOL,
2827
deps = [
2928
"//espresso/core/java/androidx/test/espresso/matcher",
@@ -35,7 +34,6 @@ android_library(
3534

3635
kt_android_library(
3736
name = "action",
38-
testonly = 0,
3937
srcs = glob(
4038
[
4139
"*.java",

espresso/core/java/androidx/test/espresso/assertion/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ package(
1313

1414
android_library(
1515
name = "assertion",
16-
testonly = 0,
1716
srcs = glob(
1817
["*.java"],
1918
),

espresso/core/java/androidx/test/espresso/base/BUILD

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ package(
1313

1414
android_library(
1515
name = "base",
16-
testonly = 0,
1716
srcs = glob(
1817
["*.java"],
1918
exclude = [
@@ -62,7 +61,6 @@ android_library(
6261

6362
android_library(
6463
name = "idling_resource_registry",
65-
testonly = 0,
6664
srcs = [
6765
"IdleNotifier.java",
6866
"IdlingResourceRegistry.java",
@@ -82,7 +80,6 @@ android_library(
8280

8381
android_library(
8482
name = "idling_uicontroller_interface",
85-
testonly = 0,
8683
srcs = ["IdlingUiController.java"],
8784
deps = [
8885
":idling_resource_registry",
@@ -92,7 +89,6 @@ android_library(
9289

9390
android_library(
9491
name = "default_failure_handler",
95-
testonly = 0,
9692
srcs = [
9793
"AssertionErrorHandler.java",
9894
"DefaultFailureHandler.java",

espresso/core/java/androidx/test/espresso/core/internal/deps/guava/base/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ package(
1313

1414
android_library(
1515
name = "base",
16-
testonly = 0,
1716
srcs = glob(["*java"]),
1817
deps = [
1918
"//opensource/androidx:annotation",

espresso/core/java/androidx/test/espresso/internal/data/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ package(
1111

1212
android_library(
1313
name = "data",
14-
testonly = 0,
1514
srcs = glob([
1615
"*.java",
1716
]),

espresso/core/java/androidx/test/espresso/internal/data/model/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ package(
1111

1212
kt_android_library(
1313
name = "model",
14-
testonly = 0,
1514
srcs = glob([
1615
"*.kt",
1716
"*.java",

espresso/core/java/androidx/test/espresso/internal/inject/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ licenses(["notice"])
1212

1313
android_library(
1414
name = "inject",
15-
testonly = 0,
1615
srcs = glob(["*java"]),
1716
visibility = [
1817
"//:__subpackages__",

0 commit comments

Comments
 (0)