From 07c069e1a15e7c2fee6c0f8d0bfa1353905d29a6 Mon Sep 17 00:00:00 2001 From: Greg Thomas Date: Mon, 22 Apr 2019 14:18:44 +0100 Subject: [PATCH] Use the default integration test packages if the supplied list is empty --- .../smack/inttest/SmackIntegrationTestFramework.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java b/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java index 5ff2b1e82..962da4bee 100644 --- a/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java +++ b/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java @@ -174,7 +174,7 @@ public class SmackIntegrationTestFramework { // 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 {