Package org.jxmpp.strings.testframework
Class KnownFailures
java.lang.Object
org.jxmpp.strings.testframework.KnownFailures
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic KnownFailures.Result
Check a XMPP Strings Testframeworkresult against the list of known failures (whitelist).static void
whitelistInvalidJid
(Class<? extends XmppStringprep> xmppStringprepClass, String invalidJid) Whitelist the given invalid JID and the used XMPP String prepper.static void
whitelistInvalidJid
(XmppStringPrepper xmppStringPrepper, String invalidJid) Whitelist the given invalid JID and the used XMPP String prepper.static void
whitelistValidJid
(Class<? extends XmppStringprep> xmppStringprepClass, String validJid) Whitelist the given valid JID and the used XMPP String prepper.static void
whitelistValidJid
(XmppStringPrepper xmppStringPrepper, String validJid) Whitelist the given valid JID and the used XMPP String prepper.
-
Constructor Details
-
KnownFailures
public KnownFailures()
-
-
Method Details
-
checkAgainstWhitelist
Check a XMPP Strings Testframeworkresult against the list of known failures (whitelist).- Parameters:
result
- the result of the XMPP Strings Testframework.- Returns:
- the result of whitelist check.
-
whitelistValidJid
Whitelist the given valid JID and the used XMPP String prepper.- Parameters:
xmppStringPrepper
- the used XMPP String prepper.validJid
- the valid JID.
-
whitelistValidJid
public static void whitelistValidJid(Class<? extends XmppStringprep> xmppStringprepClass, String validJid) Whitelist the given valid JID and the used XMPP String prepper.- Parameters:
xmppStringprepClass
- the class of the used XMPP String prepper.validJid
- the valid JID.
-
whitelistInvalidJid
Whitelist the given invalid JID and the used XMPP String prepper.- Parameters:
xmppStringPrepper
- the used XMPP String prepper.invalidJid
- the invalid JID.
-
whitelistInvalidJid
public static void whitelistInvalidJid(Class<? extends XmppStringprep> xmppStringprepClass, String invalidJid) Whitelist the given invalid JID and the used XMPP String prepper.- Parameters:
xmppStringprepClass
- the class of the used XMPP String prepper.invalidJid
- the invalid JID.
-