summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/BUILD
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2018-09-14 22:40:08 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2018-11-06 13:17:21 +0100
commit08b0a8632d54a24d92075b94d0b0134b69146ba2 (patch)
treec7f85adceb9529545fbfb004a6bbd6559c71dd37 /org.eclipse.jgit.test/BUILD
parent3ec3ca0f097cb27b190a17f4fde6880c871951e0 (diff)
downloadjgit-08b0a8632d54a24d92075b94d0b0134b69146ba2.tar.gz
jgit-08b0a8632d54a24d92075b94d0b0134b69146ba2.zip
Ssh tests with an Apache MINA sshd test git server
Add a simple ssh git server based on Apache MINA sshd, and use it in new tests that verify ssh operations and in particular a number of bugs that had cropped up over time in JSch. The git server supports fetching only, and sftp access. The tests are all in an abstract base class; the concrete JschSshTest class only provides ssh-specific test setup. So the same tests could be run easily also with some other ssh client. Bug: 520927 Change-Id: Ide6687b717fb497a29fc83f22b07390a26dfce1d Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.test/BUILD')
-rw-r--r--org.eclipse.jgit.test/BUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/BUILD b/org.eclipse.jgit.test/BUILD
index 186de25d94..07597f3251 100644
--- a/org.eclipse.jgit.test/BUILD
+++ b/org.eclipse.jgit.test/BUILD
@@ -20,6 +20,7 @@ HELPERS = glob(["src/**/*.java"]) + [PKG + c for c in [
"revwalk/RevWalkTestCase.java",
"transport/ObjectIdMatcher.java",
"transport/SpiTransport.java",
+ "transport/SshTestBase.java",
"treewalk/FileTreeIteratorWithTimeControl.java",
"treewalk/filter/AlwaysCloneTreeFilter.java",
"test/resources/SampleDataRepositoryTestCase.java",
@@ -44,6 +45,9 @@ java_library(
resources = DATA,
deps = [
"//lib:junit",
+ "//lib:jsch",
+ "//lib:sshd-core",
+ "//lib:sshd-sftp",
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.junit:junit",
],