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

commit 6e53369450a8e44f19d589e738e3f5eaefbddd20
parent 1cc04660aff38d9519e1733ba04843de9f5e616a
Author: Daniel Gultsch <daniel@gultsch.de>
Date:   Sun,  5 Jun 2016 20:43:39 +0200

don't send initial presence but bind to resource

Diffstat:
MREADME.md | 2+-
Msrc/main/java/eu/siacs/compliance/TestSuiteFactory.java | 1+
Msrc/main/java/eu/siacs/compliance/suites/AbstractTestSuite.java | 2+-
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -7,7 +7,7 @@ You can easily mix and match various test cases to compose your own compliance s Build with ```mvn package``` (needs Java 8) -Run with ```java -jar target/ComplianceTester.jar username@domain password``` +Run with ```java -jar target/ComplianceTester-0.1.jar username@domain password``` Example output: ``` diff --git a/src/main/java/eu/siacs/compliance/TestSuiteFactory.java b/src/main/java/eu/siacs/compliance/TestSuiteFactory.java @@ -12,6 +12,7 @@ public class TestSuiteFactory { public static AbstractTestSuite create(Class <? extends AbstractTestSuite> clazz, Jid jid, String password) throws AbstractTestSuite.TestSuiteCreationException { XmppSessionConfiguration configuration = XmppSessionConfiguration.builder() .extensions(Extension.of(ClientStateIndication.class)) + .initialPresence(null) .build(); final XmppClient client = XmppClient.create(jid.getDomain(),configuration); try { diff --git a/src/main/java/eu/siacs/compliance/suites/AbstractTestSuite.java b/src/main/java/eu/siacs/compliance/suites/AbstractTestSuite.java @@ -27,7 +27,7 @@ public abstract class AbstractTestSuite { public void run() throws XmppException { mXmppClient.connect(); - mXmppClient.login(mJid.getLocal(), mPassword); + mXmppClient.login(mJid.getLocal(), mPassword, "ComplianceTester"); for(Class<? extends AbstractTest> test : getTests()) { run(test); }