diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-08 07:45:26 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-08 07:45:26 +0000 |
commit | 0024b524048b3b8d072bd2a97f60572038f950d8 (patch) | |
tree | cebca73a2bda8bf53ab1c95b670b08e66dc600b8 /sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up | |
parent | e2c0f7c2ef446eafeee2a1eab06e97a6acae68a6 (diff) |
Adjust a couple more test fields that differ after an invocation depending on the environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1241800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up')
-rw-r--r-- | sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java b/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java index dd9a689353..4545ac379e 100644 --- a/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java +++ b/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java @@ -1001,6 +1001,8 @@ public class StandardTypesDatabindingTestCase { // The instance returned by service method invoked over binding.ws seems to have a gregorianCutover // different from the instance passed. Adjust the gregorianCutover as per the input instance. ((GregorianCalendar)actual).setGregorianChange(((GregorianCalendar)ca[i]).getGregorianChange()); + ((GregorianCalendar)actual).setMinimalDaysInFirstWeek(((GregorianCalendar)ca[i]).getMinimalDaysInFirstWeek()); + ((GregorianCalendar)actual).setFirstDayOfWeek(((GregorianCalendar)ca[i]).getFirstDayOfWeek()); } Assert.assertEquals(ca[i], actual); } @@ -1022,6 +1024,8 @@ public class StandardTypesDatabindingTestCase { // The instance returned by service method invoked over binding.ws seems to have a gregorianCutover // different from the instance passed. Adjust the gregorianCutover as per the input instance. ((GregorianCalendar)actual[i]).setGregorianChange(((GregorianCalendar)ca[i]).getGregorianChange()); + ((GregorianCalendar)actual[i]).setMinimalDaysInFirstWeek(((GregorianCalendar)ca[i]).getMinimalDaysInFirstWeek()); + ((GregorianCalendar)actual[i]).setFirstDayOfWeek(((GregorianCalendar)ca[i]).getFirstDayOfWeek()); } Assert.assertEquals(ca[i], actual[i]); } |