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
1 changed files with 1 additions and 1 deletions

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 {