mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-08 06:01:07 +01:00
Fix for getting after method
This commit is contained in:
parent
9d0ea3cf70
commit
75e35e8db6
3 changed files with 45 additions and 3 deletions
|
|
@ -400,7 +400,7 @@ public class SmackIntegrationTestFramework {
|
|||
| Modifier.STATIC));
|
||||
|
||||
// See if there are any methods that have the @AfterClassAnnotation but a wrong signature
|
||||
Set<Method> allAfterClassMethods = getAllMethods(testClass, withAnnotation(BeforeClass.class));
|
||||
Set<Method> allAfterClassMethods = getAllMethods(testClass, withAnnotation(AfterClass.class));
|
||||
allAfterClassMethods.removeAll(afterClassMethods);
|
||||
if (!allAfterClassMethods.isEmpty()) {
|
||||
LOGGER.warning("@AfterClass methods with wrong signature found");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue