1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-18 02:02:04 +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) {
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);
}