File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/main/java/com/github/exabrial/junit5/injectmap Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ public static boolean status() {
4040 public void beforeTestExecution (ExtensionContext context ) throws Exception {
4141 final Object testInstance = context .getTestInstance ().get ();
4242 final Class <?> actualTestClazz = testInstance .getClass ();
43- System .out .println ("actualTestClass: " + actualTestClazz .getName ());
4443 Class <?> topLevelClass = actualTestClazz ;
4544 while (topLevelClass .getEnclosingClass () != null ) {
4645 topLevelClass = topLevelClass .getEnclosingClass ();
@@ -55,7 +54,6 @@ public void beforeTestExecution(ExtensionContext context) throws Exception {
5554 .filter (i -> i .getClass () == parentTestClass )
5655 .findFirst ()
5756 .orElse (testInstance );
58- System .out .println ("enclosing instance class name: " + parentClassInstance .getClass ().getName ());
5957 final Map <String , Field > injectMap = new HashMap <>();
6058 for (Field testClassField : parentClassInstance .getClass ().getDeclaredFields ()) {
6159 if (testClassField .getAnnotation (InjectMocks .class ) != null ) {
You can’t perform that action at this time.
0 commit comments