Discussion:
[mule-scm] [mule][24387] branches/mule-3.3.x: MULE-6149: Tests failing on JDK 7
Pablo Kraan
2012-05-22 15:49:24 UTC
Permalink
The comment in the isExcluded method needs to be updated

Pablo
**
Revision 24387 <http://fisheye.codehaus.org/changelog/mule/?cs=24387>
Author cmordue Date 2012-05-22 10:26:51 -0500 (Tue, 22 May 2012) Log
Message
MULE-6149: Tests failing on JDK 7
Fixed tests comparing json strings. Excluded test with unclear behavior and tests that hit JDK bugs for affected JDK versions.
Modified Paths
-
branches/mule-3.3.x/modules/json/src/test/java/org/mule/module/json/JsonNamespaceHandlerTestCase.java<#1377528785e27c26_branchesmule33xmodulesjsonsrctestjavaorgmulemodulejsonJsonNamespaceHandlerTestCasejava>
-
branches/mule-3.3.x/modules/json/src/test/java/org/mule/module/json/transformers/JsonBeanRoundTripTestCase.java<#1377528785e27c26_branchesmule33xmodulesjsonsrctestjavaorgmulemodulejsontransformersJsonBeanRoundTripTestCasejava>
-
branches/mule-3.3.x/tests/functional/src/test/resources/mule-test-exclusions.txt<#1377528785e27c26_branchesmule33xtestsfunctionalsrctestresourcesmuletestexclusionstxt>
-
branches/mule-3.3.x/transports/ssl/src/test/java/org/mule/transport/ssl/SslFunctionalTestCase.java<#1377528785e27c26_branchesmule33xtransportssslsrctestjavaorgmuletransportsslSslFunctionalTestCasejava>
Diff
branches/mule-3.3.x/modules/json/src/test/java/org/mule/module/json/JsonNamespaceHandlerTestCase.java
(24386 => 24387)
--- branches/mule-3.3.x/modules/json/src/test/java/org/mule/module/json/JsonNamespaceHandlerTestCase.java 2012-05-22 14:16:05 UTC (rev 24386)
+ ObjectMapper mapper = new ObjectMapper();
+ JsonNode actualJsonNode = mapper.readTree(result);
+ JsonNode expectedJsonNode = mapper.readTree(JsonBeanRoundTripTestCase.JSON_STRING);
+ assertEquals(actualJsonNode, expectedJsonNode); FruitCollection result2 = (FruitCollection)deserializer.transform(result); assertNotNull(result2);
branches/mule-3.3.x/modules/json/src/test/java/org/mule/module/json/transformers/JsonBeanRoundTripTestCase.java
(24386 => 24387)
--- branches/mule-3.3.x/modules/json/src/test/java/org/mule/module/json/transformers/JsonBeanRoundTripTestCase.java 2012-05-22 14:16:05 UTC (rev 24386)
branches/mule-3.3.x/tests/functional/src/test/resources/mule-test-exclusions.txt
(24386 => 24387)
--- branches/mule-3.3.x/tests/functional/src/test/resources/mule-test-exclusions.txt 2012-05-22 14:16:05 UTC (rev 24386)
+# Java 6 passes (but probably shouldn't). Java 7 fails (but probably should pass)
+org.mule.config.spring.parsers.specific.MethodInvokerDefinitionParserTestCase
+ ########################################################################## # The following tests will fail if run off-line ##########################################################################
branches/mule-3.3.x/transports/ssl/src/test/java/org/mule/transport/ssl/SslFunctionalTestCase.java
(24386 => 24387)
--- branches/mule-3.3.x/transports/ssl/src/test/java/org/mule/transport/ssl/SslFunctionalTestCase.java 2012-05-22 14:16:05 UTC (rev 24386)
------------------------------
http://xircles.codehaus.org/manage_email
Loading...