File: missing_test_classes.patch

package info (click to toggle)
libmina-sshd-java 2.13.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,428 kB
  • sloc: java: 136,607; xml: 4,544; sh: 917; python: 239; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: skipping tests that raise messages about missing classes at
 runtime
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2024-05-02

--- a/sshd-ldap/src/test/java/org/apache/sshd/ldap/LdapPasswordAuthenticatorTest.java
+++ b/sshd-ldap/src/test/java/org/apache/sshd/ldap/LdapPasswordAuthenticatorTest.java
@@ -31,6 +31,7 @@
 import org.apache.sshd.server.session.ServerSession;
 import org.junit.ClassRule;
 import org.junit.FixMethodOrder;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runners.MethodSorters;
 import org.mockito.Mockito;
@@ -55,6 +56,7 @@
         super();
     }
 
+    @Ignore("Missing class antlr/TokenStream")
     @Test // the user's password is compared with the LDAP stored one
     public void testPasswordComparison() throws Exception {
         usersMap = populateUsers(serverRule.getLdapServer().getDirectoryService(),
--- a/sshd-ldap/src/test/java/org/apache/sshd/ldap/LdapPublickeyAuthenticatorTest.java
+++ b/sshd-ldap/src/test/java/org/apache/sshd/ldap/LdapPublickeyAuthenticatorTest.java
@@ -39,6 +39,7 @@
 import org.apache.sshd.server.session.ServerSession;
 import org.junit.ClassRule;
 import org.junit.FixMethodOrder;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runners.MethodSorters;
 import org.mockito.Mockito;
@@ -65,6 +66,7 @@
         super();
     }
 
+    @Ignore("Missing class SubtreeSpecificationSyntaxChecker")
     @Test
     public void testPublicKeyComparison() throws Exception {
         Map<String, String> credentials = populateUsers(serverRule.getLdapServer().getDirectoryService(),