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

EntityCapabilities.java (666B)


      1 package eu.siacs.compliance.tests;
      2 
      3 import rocks.xmpp.core.session.XmppClient;
      4 import rocks.xmpp.core.stream.model.StreamFeature;
      5 
      6 /**
      7  * This test is looking for the c element in a servers stream features
      8  * see http://xmpp.org/extensions/xep-0115.html#stream
      9  */
     10 public class EntityCapabilities extends AbstractStreamFeatureTest {
     11 
     12     public EntityCapabilities(XmppClient client) {
     13         super(client);
     14     }
     15 
     16     @Override
     17     Class<? extends StreamFeature> getStreamFeature() {
     18         return rocks.xmpp.extensions.caps.model.EntityCapabilities.class;
     19     }
     20 
     21     @Override
     22     public String getName() {
     23         return "XEP-0115: Entity Capabilities";
     24     }
     25 }