Skip to content

Commit

Permalink
[RESTEASY-2173] Move towards WildFly 16
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkopecky authored and asoldano committed Mar 1, 2019
1 parent ea17ab7 commit 440a13e
Show file tree
Hide file tree
Showing 17 changed files with 12 additions and 64 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ jdk:
- openjdk8
- oraclejdk11
env:
- SERVER_VERSION=13.0.0.Final
- SERVER_VERSION=14.0.0.Final
- SERVER_VERSION=15.0.0.Final
- SERVER_VERSION=15.0.0.Final ELYTRON=true
- SERVER_VERSION=16.0.0.Final
- SERVER_VERSION=16.0.0.Final ELYTRON=true
jobs:
exclude:
- jdk: oraclejdk11
env: SERVER_VERSION=13.0.0.Final
- jdk: oraclejdk11
env: SERVER_VERSION=15.0.0.Final ELYTRON=true
env: SERVER_VERSION=16.0.0.Final ELYTRON=true
include:
- stage: "javadoc"
script: mvn -B -DskipTests install && mvn -B -Dmaven.javadoc.skip=false javadoc:javadoc
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.arquillian.test.api.ArquillianResource;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.client.microprofile.MicroprofileClientBuilderResolver;
import org.jboss.resteasy.utils.PortProviderUtil;
import org.jboss.resteasy.utils.TestUtil;
Expand All @@ -36,7 +35,6 @@ public static Archive<?> deploy()
war.addPackage(HelloResource.class.getPackage());
war.addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
war.addClass(PortProviderUtil.class);
war.addClass(ExpectedFailingOnWildFly13.class);
war.addClass(Category.class);
war.addAsManifestResource(new StringAsset("Dependencies: org.eclipse.microprofile.restclient\n"), "MANIFEST.MF");
return TestUtil.finishContainerPrepare(war, null);
Expand All @@ -48,7 +46,6 @@ private String generateURL(String path)
}

@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testGetClient() throws Exception
{
RestClientBuilder builder = RestClientBuilder.newBuilder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.logging.Logger;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
Expand Down Expand Up @@ -131,7 +130,6 @@ private String generateURL(String path) {
* @tpSince RESTEasy 3.0.16
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testJacksonString() throws Exception {
WebTarget target = client.target(generateURL("/products/333"));
Response response = target.request().get();
Expand Down Expand Up @@ -179,7 +177,7 @@ public void testJacksonJsonpEnabled() throws Exception {
* @tpSince RESTEasy 3.1.0.Final
*/
@Test
@Category({NotForForwardCompatibility.class, ExpectedFailingOnWildFly13.class})
@Category({NotForForwardCompatibility.class})
public void testJacksonJsonpDisabled() throws Exception {
WebTarget target = client.target(PortProviderUtil.generateURL("/products/333?callback=foo", JSONP_DISABLED));
Response response = target.request().get();
Expand All @@ -198,7 +196,7 @@ public void testJacksonJsonpDisabled() throws Exception {
* @tpSince RESTEasy 3.0.16 (as testJacksonJsonp() but Jackson2JsonpInterceptor would have been enabled)
*/
@Test
@Category({NotForForwardCompatibility.class, ExpectedFailingOnWildFly13.class})
@Category({NotForForwardCompatibility.class})
public void testJacksonJsonpDefault() throws Exception {
WebTarget target = client.target(generateURL("/products/333?callback=foo"));
Response response = target.request().get();
Expand All @@ -217,7 +215,6 @@ public void testJacksonJsonpDefault() throws Exception {
* @tpSince RESTEasy 3.0.16
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testFormattedJacksonString() throws Exception {
WebTarget target = client.target(generateURL("/products/formatted/333"));
Response response = target.request().get();
Expand Down Expand Up @@ -285,7 +282,6 @@ public void testJacksonProxy() throws Exception {
* @tpSince RESTEasy 3.0.16
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testJacksonJAXB() throws Exception {
{
WebTarget target = client.target(generateURL("/jaxb"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.logging.Logger;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
import org.jboss.resteasy.plugins.server.servlet.ResteasyContextParameters;
Expand All @@ -21,7 +20,6 @@
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;

import javax.ws.rs.client.WebTarget;
Expand Down Expand Up @@ -125,7 +123,6 @@ public void testDatatypeNotSupportedDuration() throws Exception {
* @tpSince RESTEasy 3.1.0.CR3
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testDatatypeNotSupportedOptionalNull() throws Exception {
String strResponse = requestHelper("optional/true", DEFAULT_DEPLOYMENT);
Assert.assertThat("Wrong conversion of Optional (null)", strResponse, not(containsString("null")));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.logging.Logger;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
import org.jboss.resteasy.test.providers.jackson2.resource.JacksonJaxbCoexistenceJacksonResource;
Expand All @@ -22,7 +21,6 @@
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;

import javax.ws.rs.client.Entity;
Expand Down Expand Up @@ -72,7 +70,6 @@ private String generateURL(String path) {
* @tpSince RESTEasy 3.0.16
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testJacksonString() throws Exception {
WebTarget target = client.target(generateURL("/products/333"));
Response response = target.request().get();
Expand All @@ -99,7 +96,6 @@ public void testJacksonString() throws Exception {
* @tpSince RESTEasy 3.0.16
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testJacksonXmlString() throws Exception {
WebTarget target = client.target(generateURL("/jxml/products/333"));
Response response = target.request().get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
Expand Down Expand Up @@ -123,7 +122,6 @@ public void testJacksonProxyJsonViewWithJasonViewTest() throws Exception {
* @tpSince RESTEasy 3.1.0
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testJacksonProxyJsonView2WithJasonViewTest() throws Exception {
JacksonViewProxy proxy = client.target(generateURL("")).proxy(JacksonViewProxy.class);
Something p = proxy.getSomethingWithView2();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.logging.Logger;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
import org.jboss.resteasy.test.providers.jackson2.resource.ProxyWithGenericReturnTypeJacksonResource;
Expand All @@ -22,7 +21,6 @@
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.Response;
Expand All @@ -34,7 +32,6 @@
*/
@RunWith(Arquillian.class)
@RunAsClient
@Category({ExpectedFailingOnWildFly13.class})
public class ProxyWithGenericReturnTypeJacksonTest {

protected static final Logger logger = Logger.getLogger(ProxyWithGenericReturnTypeJacksonTest.class.getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.spi.HttpResponseCodes;
import org.jboss.resteasy.test.providers.jackson2.jsonfilter.resource.JsonFilterChild;
Expand Down Expand Up @@ -36,7 +35,7 @@
*/
@RunWith(Arquillian.class)
@RunAsClient
@Category({NotForForwardCompatibility.class, ExpectedFailingOnWildFly13.class})
@Category({NotForForwardCompatibility.class})
public class JsonFilterSuperClassTest {

@Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
Expand Down Expand Up @@ -68,7 +67,6 @@ public void after() throws Exception {
* @tpSince RESTEasy 3.1.0
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testJacksonConditionalStringPropertyFiltered() throws Exception {
WebTarget target = client.target(generateURL("/products/-1"));
Response response = target.request().get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.test.providers.jackson2.jsonfilter.resource.Jackson2Person;
import org.jboss.resteasy.test.providers.jackson2.jsonfilter.resource.Jackson2PersonResource;
Expand All @@ -35,7 +34,7 @@
*/
@RunWith(Arquillian.class)
@RunAsClient
@Category({NotForForwardCompatibility.class, ExpectedFailingOnWildFly13.class})
@Category({NotForForwardCompatibility.class})
public class JsonFilterWithInterceptorMultipleFiltersTest {

@Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.test.providers.jackson2.jsonfilter.resource.Jackson2Product;
import org.jboss.resteasy.test.providers.jackson2.jsonfilter.resource.Jackson2Resource;
Expand All @@ -32,7 +31,7 @@
*/
@RunWith(Arquillian.class)
@RunAsClient
@Category({NotForForwardCompatibility.class, ExpectedFailingOnWildFly13.class})
@Category({NotForForwardCompatibility.class})
public class JsonFilterWithInterceptrTest {

@Deployment(name = "default")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;

Expand All @@ -34,7 +33,7 @@
*/
@RunWith(Arquillian.class)
@RunAsClient
@Category({NotForForwardCompatibility.class, ExpectedFailingOnWildFly13.class})
@Category({NotForForwardCompatibility.class})
public class JsonFilterWithSerlvetFilterTest {

@Deployment(name = "default")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
Expand Down Expand Up @@ -69,7 +68,6 @@ public void after() throws Exception {
* @tpSince RESTEasy 3.1.0
*/
@Test
@Category({ExpectedFailingOnWildFly13.class})
public void testJacksonConditionalStringPropertyFiltered() throws Exception {
WebTarget target = client.target(generateURL("/products/-1"));
Response response = target.request().get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.test.providers.jackson2.jsonfilter.resource.Jackson2Person;
import org.jboss.resteasy.test.providers.jackson2.jsonfilter.resource.Jackson2PersonResource;
Expand All @@ -35,7 +34,7 @@
*/
@RunWith(Arquillian.class)
@RunAsClient
@Category({NotForForwardCompatibility.class, ExpectedFailingOnWildFly13.class})
@Category({NotForForwardCompatibility.class})
public class JsonFilterWithServletMultipleFiltersTest {
@Deployment(name = "default")
public static Archive<?> deploy() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy.category.ExpectedFailingOnWildFly13;
import org.jboss.resteasy.category.NotForForwardCompatibility;
import org.jboss.resteasy.client.jaxrs.ResteasyClient;
import javax.ws.rs.client.ClientBuilder;
Expand Down Expand Up @@ -100,7 +99,7 @@ private String generateURL(String path) {
* @tpSince RESTEasy 3.0.17
*/
@Test
@Category({NotForForwardCompatibility.class, ExpectedFailingOnWildFly13.class})
@Category({NotForForwardCompatibility.class})
public void testDuplicationTwoAppTwoResourceSameMethodPath() throws Exception {
WebTarget base = client.target(generateURL("/a/b/c"));
Response response = null;
Expand Down
14 changes: 1 addition & 13 deletions testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,7 @@
</property>
</activation>
<properties>
<server.version>15.0.0.Final</server.version>
</properties>
</profile>
<profile>
<id>server-version-13x-exclusions</id>
<activation>
<property>
<name>server.version</name>
<value>13.0.0.Final</value>
</property>
</activation>
<properties>
<additional.surefire.excluded.groups>org.jboss.resteasy.category.ExpectedFailingOnWildFly13</additional.surefire.excluded.groups>
<server.version>16.0.0.Final</server.version>
</properties>
</profile>
<!-- If resteasy.version is specified, it will be used for tests instead of the project.version -->
Expand Down

0 comments on commit 440a13e

Please sign in to comment.