Skip to content
Permalink
Browse files

Expose J2CL's AsyncTestRunner for external use.

PiperOrigin-RevId: 254296933
  • Loading branch information...
gkdn authored and Copybara-Service committed Jun 20, 2019
1 parent 2e67b3c commit 3433abfd44048d66db9678329bcb2fdc7c312459
Showing with 27 additions and 5 deletions.
  1. +12 −0 BUILD
  2. +4 −1 junit/generator/java/com/google/j2cl/junit/async/BUILD
  3. +11 −4 third_party/BUILD
12 BUILD
@@ -35,6 +35,18 @@ alias(
actual = "//junit/emul/java:junit_emul",
)

# JUnit async runner (EXPERIMENTAL)

alias(
name = "junit_async_runner",
actual = "//junit/generator/java/com/google/j2cl/junit/async",
)

alias(
name = "junit_async_runner-j2cl",
actual = "//junit/generator/java/com/google/j2cl/junit/async:async-j2cl",
)

# Optional minifier library for development servers
alias(
name = "minifier",
@@ -3,7 +3,10 @@
# JVM async testing support should be placed under Guava or Xplat.

package(
default_visibility = ["//junit/generator/javatests/com/google/j2cl/junit:__subpackages__"],
default_visibility = [
"//:__pkg__",
"//junit/generator/javatests/com/google/j2cl/junit:__subpackages__",
],
licenses = ["notice"], # Apache 2.0
)

@@ -1,9 +1,12 @@
# Description:
# Thirdparty dependencies indirection for bazel.

package(default_visibility = ["//:__subpackages__"])
package(
default_visibility = ["//:__subpackages__"],
licenses = ["notice"], # Apache 2.0
)

licenses(["notice"]) # Apache 2.0
load("//build_defs:rules.bzl", "j2cl_import", "j2cl_library")

alias(
name = "guava",
@@ -89,6 +92,12 @@ java_library(
exports = ["@org_junit//jar"],
)

j2cl_library(
name = "junit-j2cl",
testonly = 1,
exports = ["//:junit"],
)

java_library(
name = "mockito",
testonly = 1,
@@ -142,8 +151,6 @@ alias(
actual = "@org_gwtproject_gwt//user:gwt-javaemul-internal-annotations",
)

load("//build_defs:rules.bzl", "j2cl_import")

j2cl_import(
name = "gwt-javaemul-internal-annotations-j2cl",
jar = "@org_gwtproject_gwt//user:gwt-javaemul-internal-annotations",

0 comments on commit 3433abf

Please sign in to comment.
You can’t perform that action at this time.