Package org.jxmpp.strings.testframework
Class KnownFailures
- java.lang.Object
-
- org.jxmpp.strings.testframework.KnownFailures
-
public class KnownFailures extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KnownFailures.Result
-
Constructor Summary
Constructors Constructor Description KnownFailures()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KnownFailures.Result
checkAgainstWhitelist(StringsTestframework.Result result)
Check a XMPP Strings Testframeworkresult against the list of known failures (whitelist).static void
whitelistInvalidJid(java.lang.Class<? extends XmppStringprep> xmppStringprepClass, java.lang.String invalidJid)
Whitelist the given invalid JID and the used XMPP String prepper.static void
whitelistInvalidJid(XmppStringPrepper xmppStringPrepper, java.lang.String invalidJid)
Whitelist the given invalid JID and the used XMPP String prepper.static void
whitelistValidJid(java.lang.Class<? extends XmppStringprep> xmppStringprepClass, java.lang.String validJid)
Whitelist the given valid JID and the used XMPP String prepper.static void
whitelistValidJid(XmppStringPrepper xmppStringPrepper, java.lang.String validJid)
Whitelist the given valid JID and the used XMPP String prepper.
-
-
-
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, java.lang.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(java.lang.Class<? extends XmppStringprep> xmppStringprepClass, java.lang.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, java.lang.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(java.lang.Class<? extends XmppStringprep> xmppStringprepClass, java.lang.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.
-
-