xref: /JGit/org.eclipse.jgit.http.test/BUILD (revision 280707b0fc717fdd8898242f21589f0c7c7d87be)
10f6ddb37SDavid Ostrovskyload(
20f6ddb37SDavid Ostrovsky    "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
30f6ddb37SDavid Ostrovsky    "junit_tests",
40f6ddb37SDavid Ostrovsky)
50f6ddb37SDavid Ostrovsky
60f6ddb37SDavid Ostrovskyjunit_tests(
70f6ddb37SDavid Ostrovsky    name = "http",
80f6ddb37SDavid Ostrovsky    srcs = glob(["tst/**/*.java"]),
90f6ddb37SDavid Ostrovsky    tags = ["http"],
100f6ddb37SDavid Ostrovsky    deps = [
110f6ddb37SDavid Ostrovsky        ":helpers",
120f6ddb37SDavid Ostrovsky        "//lib:commons-logging",
13*280707b0SGabriel Couto        "//lib:httpcore",
140f6ddb37SDavid Ostrovsky        "//lib:jetty-http",
150f6ddb37SDavid Ostrovsky        "//lib:jetty-io",
160f6ddb37SDavid Ostrovsky        "//lib:jetty-security",
170f6ddb37SDavid Ostrovsky        "//lib:jetty-server",
180f6ddb37SDavid Ostrovsky        "//lib:jetty-servlet",
190f6ddb37SDavid Ostrovsky        "//lib:jetty-util",
200f6ddb37SDavid Ostrovsky        "//lib:junit",
210f6ddb37SDavid Ostrovsky        "//lib:servlet-api",
220f6ddb37SDavid Ostrovsky        "//lib:slf4j-api",
230f6ddb37SDavid Ostrovsky        "//lib:slf4j-simple",
240f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.apache:http-apache",
250f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.server:jgit-servlet",
260f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit:jgit",
270f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:junit-http",
280f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit:junit",
290f6ddb37SDavid Ostrovsky    ],
300f6ddb37SDavid Ostrovsky)
310f6ddb37SDavid Ostrovsky
320f6ddb37SDavid Ostrovskyjava_library(
330f6ddb37SDavid Ostrovsky    name = "helpers",
340f6ddb37SDavid Ostrovsky    testonly = 1,
350f6ddb37SDavid Ostrovsky    srcs = glob(["src/**/*.java"]),
360f6ddb37SDavid Ostrovsky    deps = [
370f6ddb37SDavid Ostrovsky        "//lib:junit",
38723d67b8SDavid Pursehouse        "//lib:servlet-api",
390f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.http.server:jgit-servlet",
400f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit:jgit",
410f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit.http:junit-http",
420f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit:junit",
430f6ddb37SDavid Ostrovsky    ],
440f6ddb37SDavid Ostrovsky)
45