10f6ddb37SDavid Ostrovskyload( 20f6ddb37SDavid Ostrovsky "@com_googlesource_gerrit_bazlets//tools:junit.bzl", 30f6ddb37SDavid Ostrovsky "junit_tests", 40f6ddb37SDavid Ostrovsky) 50f6ddb37SDavid Ostrovsky 6*9150caa8SDavid Pursehousepackage(default_visibility = ["//visibility:public"]) 7*9150caa8SDavid Pursehouse 80f6ddb37SDavid Ostrovskyjunit_tests( 90f6ddb37SDavid Ostrovsky name = "lfs", 100f6ddb37SDavid Ostrovsky srcs = glob(["tst/**/*.java"]), 110f6ddb37SDavid Ostrovsky tags = ["lfs"], 120f6ddb37SDavid Ostrovsky deps = [ 130f6ddb37SDavid Ostrovsky ":helpers", 140f6ddb37SDavid Ostrovsky "//lib:junit", 150f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 160f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 170f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.lfs:jgit-lfs", 180f6ddb37SDavid Ostrovsky ], 190f6ddb37SDavid Ostrovsky) 200f6ddb37SDavid Ostrovsky 210f6ddb37SDavid Ostrovskyjava_library( 220f6ddb37SDavid Ostrovsky name = "helpers", 230f6ddb37SDavid Ostrovsky testonly = 1, 240f6ddb37SDavid Ostrovsky srcs = glob(["src/**/*.java"]), 250f6ddb37SDavid Ostrovsky deps = [ 260f6ddb37SDavid Ostrovsky "//lib:junit", 270f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 280f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 290f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.lfs:jgit-lfs", 300f6ddb37SDavid Ostrovsky ], 310f6ddb37SDavid Ostrovsky) 32