1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

Use the default integration test packages if the supplied list is empty

This commit is contained in:
Greg Thomas 2019-04-22 14:18:44 +01:00 committed by Florian Schmaus
parent 5e1c3c7aa5
commit 07c069e1a1

View file

@ -174,7 +174,7 @@ public class SmackIntegrationTestFramework<DC extends AbstractXMPPConnection> {
// TODO print effective configuration
String[] testPackages;
if (config.testPackages == null) {
if (config.testPackages == null || config.testPackages.isEmpty()) {
testPackages = new String[] { "org.jivesoftware.smackx", "org.jivesoftware.smack" };
}
else {