commit 07760d9a537af62e708a469e59d12585d4b55517 parent 0e3f46e42713d14f80028e73761db56d921ef2bc Author: Daniel Gultsch <daniel@gultsch.de> Date: Sun, 31 Jul 2016 13:17:39 +0200 added test case for XEP-0160: Offline messages Diffstat:
A | src/main/java/eu/siacs/compliance/tests/OfflineStorage.java | | | 28 | ++++++++++++++++++++++++++++ |
1 file changed, 28 insertions(+), 0 deletions(-)
diff --git a/src/main/java/eu/siacs/compliance/tests/OfflineStorage.java b/src/main/java/eu/siacs/compliance/tests/OfflineStorage.java @@ -0,0 +1,28 @@ +package eu.siacs.compliance.tests; + +import rocks.xmpp.core.session.XmppClient; + +import java.util.Arrays; +import java.util.List; + +public class OfflineStorage extends AbstractDiscoTest { + + public OfflineStorage(XmppClient client) { + super(client); + } + + @Override + public String getName() { + return "XEP-0160: Best Practices for Handling Offline Messages"; + } + + @Override + List<String> getNamespaces() { + return Arrays.asList("msgoffline"); + } + + @Override + boolean checkOnServer() { + return true; + } +}