Merge changes from topic "testonly-cleanup" into stable-2.16
* changes:
Mark greenmail as testonly
Bazel: Fix testonly values in BUILD and .bzl files
* submodules:
* Update plugins/replication from branch 'stable-2.16'
to fe4162b8c38d2a817a98effd0748d045872edef7
- Bazel: Fix testonly value in BUILD file
According to the documentation [1], the expected values for testonly
are True and False. Replace the currently used "1" with "True".
[1] https://docs.bazel.build/versions/master/be/common-definitions.html
Change-Id: I824b91afc5cd7e379c1f303464d4342a3b2df014
This commit is contained in:
@@ -2,7 +2,7 @@ load("//tools/bzl:java.bzl", "java_library2")
|
||||
|
||||
java_library(
|
||||
name = "lib",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
resource_strip_prefix = "resources",
|
||||
resources = ["//resources/com/google/gerrit/acceptance"],
|
||||
visibility = ["//visibility:public"],
|
||||
@@ -55,7 +55,7 @@ java_library(
|
||||
|
||||
java_binary(
|
||||
name = "framework",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
main_class = "Dummy",
|
||||
visibility = ["//visibility:public"],
|
||||
runtime_deps = [":framework-lib"],
|
||||
@@ -63,7 +63,7 @@ java_binary(
|
||||
|
||||
java_library2(
|
||||
name = "framework-lib",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.java"]),
|
||||
exported_deps = [
|
||||
"//java/com/google/gerrit/gpg",
|
||||
@@ -129,7 +129,7 @@ load("//tools/bzl:javadoc.bzl", "java_doc")
|
||||
|
||||
java_doc(
|
||||
name = "framework-javadoc",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
libs = [":framework-lib"],
|
||||
pkgs = ["com.google.gerrit.acceptance"],
|
||||
title = "Gerrit Acceptance Test Framework Documentation",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
java_library(
|
||||
name = "common-data-test-util",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
java_library(
|
||||
name = "common-test-util",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
java_library(
|
||||
name = "restapi-test-util",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package(default_testonly = 1)
|
||||
package(default_testonly = True)
|
||||
|
||||
java_library(
|
||||
name = "testing",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
java_library(
|
||||
name = "gpg-test-util",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package(default_testonly = 1)
|
||||
package(default_testonly = True)
|
||||
|
||||
java_library(
|
||||
name = "testing",
|
||||
|
||||
@@ -2,7 +2,7 @@ package(default_visibility = ["//visibility:public"])
|
||||
|
||||
java_library(
|
||||
name = "testing",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["*.java"]),
|
||||
deps = [
|
||||
"//java/com/google/gerrit/common:server",
|
||||
|
||||
@@ -2,7 +2,7 @@ package(default_visibility = ["//visibility:public"])
|
||||
|
||||
java_library(
|
||||
name = "testing",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["*.java"]),
|
||||
deps = [
|
||||
"//java/com/google/gerrit/common:server",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
java_library(
|
||||
name = "project-test-util",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
java_library(
|
||||
name = "gerrit-test-util",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
exports = [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
java_library(
|
||||
name = "truth",
|
||||
testonly = 1,
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
|
||||
Reference in New Issue
Block a user