> interceptors = weld.getBeanManager().resolveInterceptors(InterceptionType.AROUND_INVOKE,
+ FooBinding.Literal.INSTANCE);
assertEquals(1, interceptors.size());
assertEquals(MockInterceptor.class, interceptors.get(0).getBeanClass());
}
diff --git a/junit4/src/test/java/org/jboss/weld/junit4/resources/InjectResourcesTest.java b/junit4/src/test/java/org/jboss/weld/junit4/resources/InjectResourcesTest.java
index b9e8b6ac..24d70baa 100644
--- a/junit4/src/test/java/org/jboss/weld/junit4/resources/InjectResourcesTest.java
+++ b/junit4/src/test/java/org/jboss/weld/junit4/resources/InjectResourcesTest.java
@@ -56,11 +56,11 @@ public class InjectResourcesTest {
@Rule
public WeldInitiator weld = WeldInitiator.fromTestPackage()
- .bindResource("bar", "hello1")
- .bindResource("java:comp/env/baz", "hello2")
- .setEjbFactory(ip -> new DummySessionBean("ping"))
- .setPersistenceUnitFactory(getPUFactory())
- .setPersistenceContextFactory(getPCFactory()).build();
+ .bindResource("bar", "hello1")
+ .bindResource("java:comp/env/baz", "hello2")
+ .setEjbFactory(ip -> new DummySessionBean("ping"))
+ .setPersistenceUnitFactory(getPUFactory())
+ .setPersistenceContextFactory(getPCFactory()).build();
@Test
public void testResourceInjection() {
diff --git a/junit5/src/main/java/org/jboss/weld/junit5/EnableWeld.java b/junit5/src/main/java/org/jboss/weld/junit5/EnableWeld.java
index 1bc5c277..03889e85 100644
--- a/junit5/src/main/java/org/jboss/weld/junit5/EnableWeld.java
+++ b/junit5/src/main/java/org/jboss/weld/junit5/EnableWeld.java
@@ -29,7 +29,8 @@
* Meta-annotation that allows test classes to be extended with {@code @EnableWeld}
* instead of {@code @ExtendWith(WeldJunit5Extension.class)}.
*
- *
+ *
+ *
* @EnableWeld
* public class SimpleTest {
*
diff --git a/junit5/src/main/java/org/jboss/weld/junit5/ExplicitParamInjection.java b/junit5/src/main/java/org/jboss/weld/junit5/ExplicitParamInjection.java
index ff56f112..18c1905d 100644
--- a/junit5/src/main/java/org/jboss/weld/junit5/ExplicitParamInjection.java
+++ b/junit5/src/main/java/org/jboss/weld/junit5/ExplicitParamInjection.java
@@ -25,7 +25,7 @@
* An annotation used to enforce explicit parameter annotation. When applied, Weld will only attempt to resolve method
* parameters which have qualifiers. In case no qualifier is required for your bean, add the {@link Default} qualifier, see CDI
* specification for in depth explanation on qualifiers.
- *
+ *
* This annotation can be applied either on test class, in which case it affects parameter injection in all methods, or on
* a method.
*
diff --git a/junit5/src/main/java/org/jboss/weld/junit5/ExtensionContextUtils.java b/junit5/src/main/java/org/jboss/weld/junit5/ExtensionContextUtils.java
index ee14e41c..6f17ba31 100644
--- a/junit5/src/main/java/org/jboss/weld/junit5/ExtensionContextUtils.java
+++ b/junit5/src/main/java/org/jboss/weld/junit5/ExtensionContextUtils.java
@@ -120,7 +120,8 @@ public static void setContainerToStore(ExtensionContext context, WeldContainer c
*/
public static List getEnrichersFromStore(ExtensionContext context) {
@SuppressWarnings("unchecked")
- List enrichers = (List) getRootExtensionStore(context).get(WELD_ENRICHERS, List.class);
+ List enrichers = (List) getRootExtensionStore(context).get(WELD_ENRICHERS,
+ List.class);
return enrichers;
}
diff --git a/junit5/src/main/java/org/jboss/weld/junit5/WeldInitiator.java b/junit5/src/main/java/org/jboss/weld/junit5/WeldInitiator.java
index a1d91dfb..fe8f9a6c 100644
--- a/junit5/src/main/java/org/jboss/weld/junit5/WeldInitiator.java
+++ b/junit5/src/main/java/org/jboss/weld/junit5/WeldInitiator.java
@@ -33,7 +33,9 @@
/**
* JUnit 5 initiator - can be used to customize the Weld SE container started by {@link WeldJunit5Extension}.
*
- * Example:
+ *
+ * Example:
+ *
*
* @ExtendWith(WeldJunit5Extension.class)
* public class SimpleTest {
@@ -167,16 +169,21 @@ protected Builder self() {
}
@Override
- protected WeldInitiator build(Weld weld, List