From 01169a956c0cfeae6e379996e50912b72327e7ec Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 23 Dec 2016 13:27:51 +0100 Subject: [PATCH] Log when executing (Before|After) class sinttest methods --- .../smack/inttest/SmackIntegrationTestFramework.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java b/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java index c0edf71c4..00609f209 100644 --- a/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java +++ b/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java @@ -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); }