Skip to content

Commit

Permalink
[bazel]: adding back the end to end test
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Nov 19, 2018
1 parent 0345df0 commit d500a66
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ java_library(
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
"//java/server/test/org/openqa/selenium/grid:__subpackages__",
],
)
14 changes: 14 additions & 0 deletions java/server/src/org/openqa/selenium/grid/router/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
java_library(
name = "router",
srcs = glob(["*.java"]),
deps = [
"//java/server/src/org/openqa/selenium/grid/distributor",
"//java/server/src/org/openqa/selenium/grid/sessionmap",
"//java/server/src/org/openqa/selenium/injector",
"//third_party/java/guava",
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
"//java/server/test/org/openqa/selenium/grid:__subpackages__",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ java_library(
],
visibility = [
"//java/server/src/org/openqa/selenium/grid:__subpackages__",
"//java/server/test/org/openqa/selenium/grid:__subpackages__",
],
)
22 changes: 22 additions & 0 deletions java/server/test/org/openqa/selenium/grid/router/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
load("//java:bazel-rules.bzl", "gen_java_tests")

gen_java_tests(
name = "router",
srcs = glob(["*.java"]),
size = "small",
deps = [
"//java/client/src/org/openqa/selenium/remote/tracing",
"//java/server/src/org/openqa/selenium/grid/config",
"//java/server/src/org/openqa/selenium/grid/distributor",
"//java/server/src/org/openqa/selenium/grid/distributor/local",
"//java/server/src/org/openqa/selenium/grid/distributor/remote",
"//java/server/src/org/openqa/selenium/grid/node/local",
"//java/server/src/org/openqa/selenium/grid/router",
"//java/server/src/org/openqa/selenium/grid/server",
"//java/server/src/org/openqa/selenium/grid/sessionmap",
"//java/server/src/org/openqa/selenium/grid/sessionmap/local",
"//java/server/src/org/openqa/selenium/grid/sessionmap/remote",
"//third_party/java/guava",
"//third_party/java/junit",
],
)

0 comments on commit d500a66

Please sign in to comment.