mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
Log when executing (Before|After) class sinttest methods
This commit is contained in:
parent
e27e416063
commit
01169a956c
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue