This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push: new 4ff104b bindy: fixed the locale test so that it detects issues on Java 8 too #2445 4ff104b is described below commit 4ff104bbd0f6e3cbdff015549f1e094ef22edcfa Author: aldettinger <aldettin...@gmail.com> AuthorDate: Tue Apr 20 17:03:31 2021 +0200 bindy: fixed the locale test so that it detects issues on Java 8 too #2445 --- .../java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java | 2 +- .../org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java b/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java index f0d652c..fbc7c01 100644 --- a/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java +++ b/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java @@ -121,7 +121,7 @@ public class BindyResource { String marshalled = template.requestBody("direct:marshal-fixed-length-with-locale", object, String.class); - assertEquals("٣٫٢٠٠\r\n", marshalled); + assertEquals("3,200\r\n", marshalled); } @Path("/marshalMessageShouldSucceed") diff --git a/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java b/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java index c2da507..428e419 100644 --- a/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java +++ b/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java @@ -44,7 +44,7 @@ public class BindyTestRoute extends RouteBuilder { BindyDataFormat bindyFixedLengthWithLocaleDataFormat = new BindyDataFormat(); bindyFixedLengthWithLocaleDataFormat.setClassType(FixedLengthWithLocale.class); bindyFixedLengthWithLocaleDataFormat.setType(BindyType.Fixed.name()); - bindyFixedLengthWithLocaleDataFormat.setLocale("ar"); + bindyFixedLengthWithLocaleDataFormat.setLocale("fr"); from("direct:marshal-fixed-length-with-locale").marshal(bindyFixedLengthWithLocaleDataFormat); BindyKeyValuePairDataFormat bindyMessageDataFormat = new BindyKeyValuePairDataFormat(MessageOrder.class);