tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1241800 - in /tuscany/sca-java-2.x/trunk/testing/itest/databindings: jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/ jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/
Date Wed, 08 Feb 2012 07:45:27 GMT
Author: antelder
Date: Wed Feb  8 07:45:26 2012
New Revision: 1241800

URL: http://svn.apache.org/viewvc?rev=1241800&view=rev
Log:
Adjust a couple more test fields that differ after an invocation depending on the environment

Modified:
    tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
    tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java

Modified: tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java?rev=1241800&r1=1241799&r2=1241800&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
(original)
+++ tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-bottom-up/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/StandardTypesDatabindingTestCase.java
Wed Feb  8 07:45:26 2012
@@ -1001,6 +1001,8 @@ public class StandardTypesDatabindingTes
                 // 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 StandardTypesDatabindingTes
                 // 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]);
         }

Modified: tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java?rev=1241800&r1=1241799&r2=1241800&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
(original)
+++ tuscany/sca-java-2.x/trunk/testing/itest/databindings/jaxb-top-down/src/test/java/org/apache/tuscany/sca/itest/databindings/jaxb/topdown/StandardTypesDatabindingTestCase.java
Wed Feb  8 07:45:26 2012
@@ -1000,6 +1000,8 @@ public class StandardTypesDatabindingTes
                 // 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);
         }
@@ -1021,6 +1023,8 @@ public class StandardTypesDatabindingTes
                 // 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]);
         }



Mime
View raw message