AdvancedServerIM.java (957B)
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 13 public class AdvancedServerIM extends AdvancedServerCore { 14 15 public AdvancedServerIM(XmppClient client, Jid jid, String password) { 16 super(client, jid, password); 17 } 18 19 @Override 20 List<Class<? extends AbstractTest>> getTests() { 21 return Stream.concat(super.getTests().stream(), Arrays.asList( 22 RosterVersioning.class, 23 MessageCarbons.class, 24 Blocking.class, 25 MultiUserChat.class, 26 StreamManagement.class, 27 MAM.class 28 ).stream()).collect(Collectors.toList()); 29 } 30 31 @Override 32 public String getName() { 33 return "Advanced Server IM Compliance Suite"; 34 } 35 }