xmpp-compliance-tester

XMPP Compliance Tester, forked from github.com/iNPUTmice/ComplianceTester
git clone https://git.in0rdr.ch/xmpp-compliance-tester.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

Conversations.java (1011B)


      1 package eu.siacs.compliance.suites;
      2 
      3 import eu.siacs.compliance.tests.*;
      4 import rocks.xmpp.addr.Jid;
      5 import rocks.xmpp.core.session.XmppClient;
      6 
      7 import java.util.Arrays;
      8 import java.util.List;
      9 import java.util.stream.Collectors;
     10 import java.util.stream.Stream;
     11 
     12 public class Conversations extends AdvancedServerIM {
     13     public Conversations(XmppClient client, Jid jid, String password) {
     14         super(client, jid, password);
     15     }
     16 
     17     @Override
     18     List<Class<? extends AbstractTest>> getTests() {
     19         return Stream.concat(super.getTests().stream(), Stream.of(
     20                 CSI.class,
     21                 HttpUpload.class,
     22                 Proxy65.class,
     23                 Push.class,
     24                 XmppOverTls.class,
     25                 OMEMO.class,
     26                 MamMuc.class
     27         )).collect(Collectors.toList());
     28     }
     29 
     30     @Override
     31     protected void preHook() {
     32         printServerVersion();
     33     }
     34 
     35     @Override
     36     public String getName() {
     37         return "Conversations Compliance Suite";
     38     }
     39 }