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