Package org.jxmpp.strings.testframework
Class KnownFailures
- java.lang.Object
-
- org.jxmpp.strings.testframework.KnownFailures
-
public class KnownFailures extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKnownFailures.Result
-
Constructor Summary
Constructors Constructor Description KnownFailures()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KnownFailures.ResultcheckAgainstWhitelist(StringsTestframework.Result result)Check 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 Detail
-
KnownFailures
public KnownFailures()
-
-
Method Detail
-
checkAgainstWhitelist
public static KnownFailures.Result checkAgainstWhitelist(StringsTestframework.Result result)
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
public static void whitelistValidJid(XmppStringPrepper xmppStringPrepper, String validJid)
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
public static void whitelistInvalidJid(XmppStringPrepper xmppStringPrepper, String invalidJid)
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.
-
-