Skip to content

Commit

Permalink
[bazel] Clean up errors reported by --all_incompatible_changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Mar 31, 2020
1 parent 7016377 commit b220d0b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 28 deletions.
5 changes: 0 additions & 5 deletions java/client/test/org/openqa/selenium/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,9 @@ java_library(
srcs = glob([
"*Test.java",
"html5/*.java",
"internal/*Test.java",
"interactions/*.java",
"interactions/touch/*Test.java",
"io/*Test.java",
"logging/*.java",
"net/*Test.java",
"os/*Test.java",
"virtualauthenticator/*Test.java",
]) + [
"interactions/touch/TouchTestBase.java",
],
Expand Down
49 changes: 26 additions & 23 deletions java/client/test/org/openqa/selenium/tools/modules/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
load("//java:defs.bzl", "java_test_suite")

java_test_suite(
name = "SmallTests",
size = "small",
srcs = glob(["*.java"]),
data = [
"no-module.jar",
"with-auto-module-name.jar",
"with-module-info.jar",
],
javacopts = [
"-source",
"9",
"-target",
"9",
],
deps = [
"//java/client/src/org/openqa/selenium/tools/modules:ModuleGenerator",
"//third_party/java/assertj",
"//third_party/java/bytebuddy:byte-buddy",
"//third_party/java/guava",
"//third_party/java/junit",
],
)
# Disabled until we actually have a test. Where did it go?


#java_test_suite(
# name = "SmallTests",
# size = "small",
# srcs = glob(["*.java"]),
# data = [
# "no-module.jar",
# "with-auto-module-name.jar",
# "with-module-info.jar",
# ],
# javacopts = [
# "-source",
# "9",
# "-target",
# "9",
# ],
# deps = [
# "//java/client/src/org/openqa/selenium/tools/modules:ModuleGenerator",
# "//third_party/java/assertj",
# "//third_party/java/bytebuddy:byte-buddy",
# "//third_party/java/guava",
# "//third_party/java/junit",
# ],
#)

0 comments on commit b220d0b

Please sign in to comment.