Skip to content

Commit

Permalink
AdditionalAssertions missing in the test war (#713)
Browse files Browse the repository at this point in the history
* AdditionalAssertions missing in the test war

* update copyright year
  • Loading branch information
Emily-Jiang authored Sep 16, 2021
1 parent 62acc53 commit 66092ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017 Contributors to the Eclipse Foundation
* Copyright (c) 2017, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
Expand Down Expand Up @@ -46,6 +46,7 @@
import org.eclipse.microprofile.config.spi.Converter;
import org.eclipse.microprofile.config.tck.converters.Pizza;
import org.eclipse.microprofile.config.tck.converters.PizzaConverter;
import org.eclipse.microprofile.config.tck.util.AdditionalAssertions;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.testng.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
Expand All @@ -69,7 +70,7 @@ public static WebArchive deploy() {
JavaArchive testJar = ShrinkWrap
.create(JavaArchive.class, "arrayConverterTest.jar")
.addPackage(PizzaConverter.class.getPackage())
.addClasses(ArrayConverterTest.class, ArrayConverterBean.class)
.addClasses(ArrayConverterTest.class, ArrayConverterBean.class, AdditionalAssertions.class)
.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")
.addAsServiceProvider(Converter.class, PizzaConverter.class)
.as(JavaArchive.class);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2017 Contributors to the Eclipse Foundation
* Copyright (c) 2016, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
Expand Down Expand Up @@ -52,6 +52,7 @@
import org.eclipse.microprofile.config.tck.converters.Duck;
import org.eclipse.microprofile.config.tck.converters.DuckConverter;
import org.eclipse.microprofile.config.tck.converters.UpperCaseDuckConverter;
import org.eclipse.microprofile.config.tck.util.AdditionalAssertions;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.testng.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
Expand Down Expand Up @@ -79,7 +80,8 @@ public static WebArchive deploy() {
.create(JavaArchive.class, "converterTest.jar")
.addClass(ConverterTest.class)
.addPackage(CustomDbConfigSource.class.getPackage())
.addClasses(DuckConverter.class, Duck.class, Donald.class, UpperCaseDuckConverter.class)
.addClasses(DuckConverter.class, Duck.class, Donald.class, UpperCaseDuckConverter.class,
AdditionalAssertions.class)
.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")
.addAsServiceProvider(ConfigSource.class, CustomDbConfigSource.class)
.addAsServiceProvider(ConfigSourceProvider.class, CustomConfigSourceProvider.class)
Expand Down

0 comments on commit 66092ec

Please sign in to comment.