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", 130f6ddb37SDavid Ostrovsky "//lib:jetty-http", 140f6ddb37SDavid Ostrovsky "//lib:jetty-io", 150f6ddb37SDavid Ostrovsky "//lib:jetty-security", 160f6ddb37SDavid Ostrovsky "//lib:jetty-server", 170f6ddb37SDavid Ostrovsky "//lib:jetty-servlet", 180f6ddb37SDavid Ostrovsky "//lib:jetty-util", 190f6ddb37SDavid Ostrovsky "//lib:junit", 200f6ddb37SDavid Ostrovsky "//lib:servlet-api", 210f6ddb37SDavid Ostrovsky "//lib:slf4j-api", 220f6ddb37SDavid Ostrovsky "//lib:slf4j-simple", 230f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.apache:http-apache", 240f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.server:jgit-servlet", 250f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 260f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit.http:junit-http", 270f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 280f6ddb37SDavid Ostrovsky ], 290f6ddb37SDavid Ostrovsky) 300f6ddb37SDavid Ostrovsky 310f6ddb37SDavid Ostrovskyjava_library( 320f6ddb37SDavid Ostrovsky name = "helpers", 330f6ddb37SDavid Ostrovsky testonly = 1, 340f6ddb37SDavid Ostrovsky srcs = glob(["src/**/*.java"]), 350f6ddb37SDavid Ostrovsky deps = [ 360f6ddb37SDavid Ostrovsky "//lib:junit", 37*723d67b8SDavid Pursehouse "//lib:servlet-api", 380f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.server:jgit-servlet", 390f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 400f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit.http:junit-http", 410f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 420f6ddb37SDavid Ostrovsky ], 430f6ddb37SDavid Ostrovsky) 44