Skip to content

Commit

Permalink
Add missing annotation literals to test deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn authored and Ladicek committed Oct 25, 2023
1 parent b2354ad commit 20c0772
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public class ResolveEventObserversTest extends AbstractTest {

@Deployment
public static WebArchive createTestArchive() {
return new WebArchiveBuilder().withTestClassPackage(ResolveEventObserversTest.class).build();
return new WebArchiveBuilder().withTestClassPackage(ResolveEventObserversTest.class)
.withClasses(OverrideLiteral.class).build();
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import jakarta.enterprise.util.AnnotationLiteral;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.cdi.tck.AbstractTest;
import org.jboss.cdi.tck.literals.ProducesLiteral;
import org.jboss.cdi.tck.shrinkwrap.WebArchiveBuilder;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.shrinkwrap.impl.BeansXml;
Expand All @@ -56,6 +57,7 @@ public class AlternativeMetadataTest extends AbstractTest {
public static WebArchive createTestArchive() {
return new WebArchiveBuilder()
.withTestClassPackage(AlternativeMetadataTest.class)
.withClasses(ProducesLiteral.class)
.withBeansXml(new BeansXml().interceptors(GroceryInterceptor.class))
.withExtension(ProcessAnnotatedTypeObserver.class).build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class BeanManagerTest extends AbstractTest {
@Deployment
public static WebArchive createTestArchive() {
return new WebArchiveBuilder().withTestClassPackage(BeanManagerTest.class)
.withClasses(RetentionLiteral.class, TargetLiteral.class)
.withClasses(RetentionLiteral.class, TargetLiteral.class, StereotypeLiteral.class)
.withExtensions(AfterBeanDiscoveryObserver.class).build();
}

Expand Down

0 comments on commit 20c0772

Please sign in to comment.