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

Log when executing (Before|After) class sinttest methods

This commit is contained in:
Florian Schmaus 2016-12-23 13:27:51 +01:00
parent e27e416063
commit 01169a956c

View file

@ -338,6 +338,7 @@ public class SmackIntegrationTestFramework {
if (beforeClassMethods.size() == 1) { if (beforeClassMethods.size() == 1) {
Method beforeClassMethod = beforeClassMethods.iterator().next(); Method beforeClassMethod = beforeClassMethods.iterator().next();
LOGGER.info("Executing @BeforeClass method of " + testClass);
try { try {
beforeClassMethod.invoke(null); beforeClassMethod.invoke(null);
} }
@ -414,6 +415,7 @@ public class SmackIntegrationTestFramework {
if (afterClassMethods.size() == 1) { if (afterClassMethods.size() == 1) {
Method afterClassMethod = afterClassMethods.iterator().next(); Method afterClassMethod = afterClassMethods.iterator().next();
LOGGER.info("Executing @AfterClass method of " + testClass);
try { try {
afterClassMethod.invoke(null); afterClassMethod.invoke(null);
} }