Package org.jxmpp.strings.testframework
Class KnownFailures
java.lang.Object
org.jxmpp.strings.testframework.KnownFailures
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KnownFailures.ResultCheck a XMPP Strings Testframeworkresult against the list of known failures (whitelist).static voidwhitelistInvalidJid(Class<? extends XmppStringprep> xmppStringprepClass, String invalidJid) Whitelist the given invalid JID and the used XMPP String prepper.static voidwhitelistInvalidJid(XmppStringPrepper xmppStringPrepper, String invalidJid) Whitelist the given invalid JID and the used XMPP String prepper.static voidwhitelistValidJid(Class<? extends XmppStringprep> xmppStringprepClass, String validJid) Whitelist the given valid JID and the used XMPP String prepper.static voidwhitelistValidJid(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.
-