Hi AmilaM, I've fixed the unit test failure in Synapse.
Thanks. On Tue, Apr 19, 2011 at 11:06 PM, Amila Maha Arachchi <[email protected]>wrote: > surefire-report. > > Test set: org.apache.synapse.config.xml.LogMediatorSerializationTest > > ------------------------------------------------------------------------------- > Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.458 sec > <<< FAILURE! > testLogMediatorSerializationSenarioOne(org.apache.synapse.config.xml.LogMediatorSerializationTest) > Time elapsed: 0.32 sec <<< FAILURE! > junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff > [different] Expected number of child nodes '1' but was '2' - comparing > <log...> at /log[1] to <log...> at /log[1] > at junit.framework.Assert.fail(Assert.java:47) > at > org.custommonkey.xmlunit.XMLAssert.assertXMLEqual(XMLAssert.java:125) > at > org.custommonkey.xmlunit.XMLAssert.assertXMLEqual(XMLAssert.java:229) > at > org.custommonkey.xmlunit.XMLAssert.assertXMLEqual(XMLAssert.java:179) > at > org.custommonkey.xmlunit.XMLTestCase.assertXMLEqual(XMLTestCase.java:214) > at > org.apache.synapse.config.xml.AbstractTestCase.serialization(AbstractTestCase.java:63) > at > org.apache.synapse.config.xml.LogMediatorSerializationTest.testLogMediatorSerializationSenarioOne(LogMediatorSerializationTest.java:57) > at > org.apache.synapse.config.xml.LogMediatorSerializationTest.testLogMediatorSerializationSenarioOne(LogMediatorSerializationTest.java:57) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:164) > at junit.framework.TestCase.runBare(TestCase.java:130) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163) > at org.apache.maven.surefire.Surefire.run(Surefire.java:84) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:244) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:814) > > > > > On Tue, Apr 19, 2011 at 10:07 PM, WSO2 Builder <[email protected]> wrote: > >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.017 sec >> Running org.apache.synapse.mediators.base.SequenceMediatorTest >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.273 sec >> Running org.apache.synapse.util.TextFileDataSourceTest >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.129 sec >> Running org.apache.synapse.mediators.TestMediator >> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec >> Running org.apache.synapse.config.xml.FaultMediatorSerializationTest >> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.401 sec >> Running org.apache.synapse.mediators.builtin.PropertyMediatorTest >> All property values are correctly in place - Test SUCCESSFUL >> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec >> Running >> org.apache.synapse.config.xml.endpoints.AddressEndpointSerializationTest >> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.454 sec >> Running org.apache.synapse.eventing.SynapseEventSourceTest >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.341 sec >> Running org.apache.synapse.config.xml.OutMediatorSerializationTest >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.384 sec >> Running org.apache.synapse.TestMessageContextBuilder >> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec >> Running org.apache.synapse.config.xml.SequenceMediatorSerializationTest >> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.417 sec >> >> Results : >> >> Failed tests: >> >> Tests run: 256, Failures: 1, Errors: 0, Skipped: 0 >> >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] There are test failures. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 101 minutes 59 seconds >> [INFO] Finished at: Tue Apr 19 22:07:27 IST 2011 >> [INFO] Final Memory: 492M/1673M >> [INFO] >> ------------------------------------------------------------------------ >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Kasun Indrasiri Senior Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 71 536 4128 Blog : http://kasunpanorama.blogspot.com/
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
