We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72c743 commit 2ae15eaCopy full SHA for 2ae15ea
src/main/java/com/nordstrom/automation/junit/HookInstallingPlugin.java
@@ -23,8 +23,9 @@ public boolean matches(TypeDescription target) {
23
@Override
24
public Builder<?> apply(Builder<?> builder, TypeDescription typeDescription) {
25
return builder.method(isAnnotatedWith(anyOf(Test.class, Before.class, After.class))
26
- .or(isStatic().and(isAnnotatedWith(anyOf(BeforeClass.class, AfterClass.class)))))
27
- .intercept(MethodDelegation.to(MethodInterceptor.class))
28
- .implement(Hooked.class);
+ .or(isStatic().and(isAnnotatedWith(anyOf(BeforeClass.class, AfterClass.class)))))
+ .intercept(MethodDelegation.to(MethodInterceptor.class))
+ .implement(Hooked.class);
29
}
30
+
31
0 commit comments