]> source.dussan.org Git - jgit.git/commitdiff
Bazel: Add missing dependency on mockito for TransportHttpTest 78/143478/1
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 7 Jun 2019 01:22:13 +0000 (10:22 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 7 Jun 2019 01:22:13 +0000 (10:22 +0900)
Change-Id: I54eff21c7aa8ee4b3b4a2fea60c5bca359256808
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.test/tests.bzl

index 6b5c7a1df13c02bd2304bfecb834f295784f80a1..3665c2499139db27be4ee23292ce549e68943f13 100644 (file)
@@ -53,6 +53,10 @@ def tests(tests):
             additional_deps = [
                 "//lib:mockito",
             ]
+        if src.endswith("TransportHttpTest.java"):
+            additional_deps = [
+                "//lib:mockito",
+            ]
         heap_size = "-Xmx256m"
         if src.endswith("HugeCommitMessageTest.java"):
             heap_size = "-Xmx512m"