mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
[sinttest] Log testPackages to ISE's message
This means we the reason for the LOGGER.info() call is now gone.
This commit is contained in:
parent
aefbb28875
commit
138725a22f
1 changed files with 1 additions and 2 deletions
|
@ -193,7 +193,6 @@ public class SmackIntegrationTestFramework {
|
||||||
testPackages = new String[] { "org.jivesoftware.smackx", "org.jivesoftware.smack" };
|
testPackages = new String[] { "org.jivesoftware.smackx", "org.jivesoftware.smack" };
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOGGER.info("Using sinttest java packages provided by configuration: " + config.testPackages);
|
|
||||||
testPackages = config.testPackages.toArray(new String[config.testPackages.size()]);
|
testPackages = config.testPackages.toArray(new String[config.testPackages.size()]);
|
||||||
}
|
}
|
||||||
Reflections reflections = new Reflections(testPackages, new SubTypesScanner(),
|
Reflections reflections = new Reflections(testPackages, new SubTypesScanner(),
|
||||||
|
@ -219,7 +218,7 @@ public class SmackIntegrationTestFramework {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (classes.isEmpty()) {
|
if (classes.isEmpty()) {
|
||||||
throw new IllegalStateException("No test classes found");
|
throw new IllegalStateException("No test classes in " + Arrays.toString(testPackages) + " found");
|
||||||
}
|
}
|
||||||
|
|
||||||
LOGGER.info("SmackIntegrationTestFramework [" + testRunResult.testRunId
|
LOGGER.info("SmackIntegrationTestFramework [" + testRunResult.testRunId
|
||||||
|
|
Loading…
Reference in a new issue