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 OstrovskyTEST_BASE = ["tst/org/eclipse/jgit/lfs/server/fs/LfsServerTest.java"] 7*0f6ddb37SDavid Ostrovsky 8*0f6ddb37SDavid OstrovskyDEPS = [ 9*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.lfs.test:helpers", 10*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 11*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 12*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit.http:junit-http", 13*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.lfs:jgit-lfs", 14*0f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.lfs.server:jgit-lfs-server", 15*0f6ddb37SDavid Ostrovsky "//lib:commons-logging", 16*0f6ddb37SDavid Ostrovsky "//lib:httpcore", 17*0f6ddb37SDavid Ostrovsky "//lib:httpclient", 18*0f6ddb37SDavid Ostrovsky "//lib:junit", 19*0f6ddb37SDavid Ostrovsky "//lib:jetty-http", 20*0f6ddb37SDavid Ostrovsky "//lib:jetty-io", 21*0f6ddb37SDavid Ostrovsky "//lib:jetty-server", 22*0f6ddb37SDavid Ostrovsky "//lib:jetty-servlet", 23*0f6ddb37SDavid Ostrovsky "//lib:jetty-security", 24*0f6ddb37SDavid Ostrovsky "//lib:jetty-util", 25*0f6ddb37SDavid Ostrovsky "//lib:servlet-api", 26*0f6ddb37SDavid Ostrovsky] 27*0f6ddb37SDavid Ostrovsky 28*0f6ddb37SDavid Ostrovskyjunit_tests( 29*0f6ddb37SDavid Ostrovsky name = "lfs_server", 30*0f6ddb37SDavid Ostrovsky srcs = glob( 31*0f6ddb37SDavid Ostrovsky ["tst/**/*.java"], 32*0f6ddb37SDavid Ostrovsky exclude = TEST_BASE, 33*0f6ddb37SDavid Ostrovsky ), 34*0f6ddb37SDavid Ostrovsky jvm_flags = [ 35*0f6ddb37SDavid Ostrovsky "-Xmx256m", 36*0f6ddb37SDavid Ostrovsky "-Dfile.encoding=UTF-8", 37*0f6ddb37SDavid Ostrovsky ], 38*0f6ddb37SDavid Ostrovsky tags = ["lfs-server"], 39*0f6ddb37SDavid Ostrovsky deps = DEPS + [ 40*0f6ddb37SDavid Ostrovsky ":helpers", 41*0f6ddb37SDavid Ostrovsky ], 42*0f6ddb37SDavid Ostrovsky) 43*0f6ddb37SDavid Ostrovsky 44*0f6ddb37SDavid Ostrovskyjava_library( 45*0f6ddb37SDavid Ostrovsky name = "helpers", 46*0f6ddb37SDavid Ostrovsky testonly = 1, 47*0f6ddb37SDavid Ostrovsky srcs = TEST_BASE, 48*0f6ddb37SDavid Ostrovsky deps = DEPS, 49*0f6ddb37SDavid Ostrovsky) 50