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

Blocking.java (528B)


      1 package eu.siacs.compliance.tests;
      2 
      3 import rocks.xmpp.core.session.XmppClient;
      4 
      5 import java.util.Arrays;
      6 import java.util.List;
      7 
      8 public class Blocking extends AbstractDiscoTest {
      9 
     10     public Blocking(XmppClient client) {
     11         super(client);
     12     }
     13 
     14     @Override
     15     List<String> getNamespaces() {
     16         return Arrays.asList("urn:xmpp:blocking");
     17     }
     18 
     19     @Override
     20     boolean checkOnServer() {
     21         return true;
     22     }
     23 
     24 
     25     @Override
     26     public String getName() {
     27         return "XEP-0191: Blocking Command";
     28     }
     29 }