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

View File

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