Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing annotation literals to test deployments #494

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading