Move extensions test utility sources to testing packages

In the vein of matching the Gerrit layout to what is used internally at
Google:

* Test utilities go in the java tree; specifically, tests for subpackage
  foo go in java/com/google/gerrit/foo/testing
* java_library rules for test utilities get testonly = 1
* Tests for subpackage foo go in javatests/com/google/gerrit/foo
* Tests for test utilities go in javatests/com/google/gerrit/foo/testing

Change-Id: I6a537855d54809f5e033f299147121361e750a78
This commit is contained in:
David Ostrovsky
2017-09-17 23:29:52 +02:00
committed by Dave Borowitz
parent 594d1854cc
commit 261187922d
25 changed files with 67 additions and 29 deletions

View File

@@ -1,11 +0,0 @@
java_library(
name = "extensions",
testonly = 1,
srcs = glob(["**/*.java"]),
visibility = ["//visibility:public"],
deps = [
"//gerrit-extension-api:api",
"//java/com/google/gerrit/truth",
"//lib:truth",
],
)