1*0f6ddb37SDavid Ostrovskyload( 2*0f6ddb37SDavid Ostrovsky "@com_googlesource_gerrit_bazlets//tools:junit.bzl", 3*0f6ddb37SDavid Ostrovsky "junit_tests", 4*0f6ddb37SDavid Ostrovsky) 5*0f6ddb37SDavid Ostrovsky 6*0f6ddb37SDavid Ostrovskyjunit_tests( 7*0f6ddb37SDavid Ostrovsky name = "http", 8*0f6ddb37SDavid Ostrovsky srcs = glob(["tst/**/*.java"]), 9*0f6ddb37SDavid Ostrovsky tags = ["http"], 10*0f6ddb37SDavid Ostrovsky deps = [ 11*0f6ddb37SDavid Ostrovsky ":helpers", 12*0f6ddb37SDavid Ostrovsky "//lib:commons-logging", 13*0f6ddb37SDavid Ostrovsky "//lib:jetty-http", 14*0f6ddb37SDavid Ostrovsky "//lib:jetty-io", 15*0f6ddb37SDavid Ostrovsky "//lib:jetty-security", 16*0f6ddb37SDavid Ostrovsky "//lib:jetty-server", 17*0f6ddb37SDavid Ostrovsky "//lib:jetty-servlet", 18*0f6ddb37SDavid Ostrovsky "//lib:jetty-util", 19*0f6ddb37SDavid Ostrovsky "//lib:junit", 20*0f6ddb37SDavid Ostrovsky "//lib:servlet-api", 21*0f6ddb37SDavid Ostrovsky "//lib:slf4j-api", 22*0f6ddb37SDavid Ostrovsky "//lib:slf4j-simple", 23*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.apache:http-apache", 24*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.server:jgit-servlet", 25*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 26*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit.http:junit-http", 27*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 28*0f6ddb37SDavid Ostrovsky ], 29*0f6ddb37SDavid Ostrovsky) 30*0f6ddb37SDavid Ostrovsky 31*0f6ddb37SDavid Ostrovskyjava_library( 32*0f6ddb37SDavid Ostrovsky name = "helpers", 33*0f6ddb37SDavid Ostrovsky testonly = 1, 34*0f6ddb37SDavid Ostrovsky srcs = glob(["src/**/*.java"]), 35*0f6ddb37SDavid Ostrovsky deps = [ 36*0f6ddb37SDavid Ostrovsky "//lib:junit", 37*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.server:jgit-servlet", 38*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 39*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit.http:junit-http", 40*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 41*0f6ddb37SDavid Ostrovsky ], 42*0f6ddb37SDavid Ostrovsky) 43