You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Davanum Srinivas <da...@gmail.com> on 2008/02/13 23:40:36 UTC
[Axis2] Failure in ComplexDataTypesTest
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Deepal,
I get the following failure on Sun JDK 1.5 on windows. Some JDK's it works fine.
thanks,
dims
test1
~ junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff
[different] Expected number of child nodes '76' but was '78' - comparing <xs:schema...> at
/definitions[1]/types[1]/schema[2] to <xs:schema...> at /definitions[1]/types[1]/schema[2]
at junit.framework.Assert.fail(Assert.java:47)
at org.tempuri.complex.ComplexDataTypesTest.test1(ComplexDataTypesTest.java:51)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
iD8DBQFHs3HkgNg6eWEDv1kRAmTVAJ0VoSIevDJAZD7sYOE1BnMZKT5QAQCgo04P
2iGEB6Ymf0/aZqdv7pB+0nM=
=3G5h
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [Axis2] Failure in ComplexDataTypesTest
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Dims,
Thank you very much for fixing that , it was a very simple fix but I had
to spend the whole day running the build. As I can see our build is not
that stable , there are some test cases which are failing randomly. I
know I did something wrong not running the complete build.
Thanks
Deepal
> Never mind!! i thought this might be because of a change made in
> adb...but looks like the generated wsdl has a couple of
> extra xsd:import's. checked in a new one (svn revision 627651). Let's
> see where the build fails now.
>
> thanks,
> dims
>
> Davanum Srinivas wrote:
> | Deepal,
> |
> | I get the following failure on Sun JDK 1.5 on windows. Some JDK's it
> | works fine.
> |
> | thanks,
> | dims
> |
> | test1
> |
> | ~ junit.framework.AssertionFailedError:
> | org.custommonkey.xmlunit.Diff
> | [different] Expected number of child nodes '76' but was '78' - comparing
> | <xs:schema...> at
> | /definitions[1]/types[1]/schema[2] to <xs:schema...> at
> | /definitions[1]/types[1]/schema[2]
> |
> | at junit.framework.Assert.fail(Assert.java:47)
> | at
> |
> org.tempuri.complex.ComplexDataTypesTest.test1(ComplexDataTypesTest.java:51)
> |
> | 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:585)
> | at junit.framework.TestCase.runTest(TestCase.java:168)
> | at junit.framework.TestCase.runBare(TestCase.java:134)
> | at junit.framework.TestResult$1.protect(TestResult.java:110)
> | at junit.framework.TestResult.runProtected(TestResult.java:128)
> | at junit.framework.TestResult.run(TestResult.java:113)
> | at junit.framework.TestCase.run(TestCase.java:124)
> | at junit.framework.TestSuite.runTest(TestSuite.java:232)
> | at junit.framework.TestSuite.run(TestSuite.java:227)
> | at
> |
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
> |
> | at
> |
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> |
> | 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:585)
> | at
> |
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
> |
> | at
> |
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
> |
> |
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [Axis2] Failure in ComplexDataTypesTest
Posted by Davanum Srinivas <da...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Never mind!! i thought this might be because of a change made in adb...but looks like the generated wsdl has a couple of
extra xsd:import's. checked in a new one (svn revision 627651). Let's see where the build fails now.
thanks,
dims
Davanum Srinivas wrote:
| Deepal,
|
| I get the following failure on Sun JDK 1.5 on windows. Some JDK's it
| works fine.
|
| thanks,
| dims
|
| test1
|
| ~ junit.framework.AssertionFailedError:
| org.custommonkey.xmlunit.Diff
| [different] Expected number of child nodes '76' but was '78' - comparing
| <xs:schema...> at
| /definitions[1]/types[1]/schema[2] to <xs:schema...> at
| /definitions[1]/types[1]/schema[2]
|
| at junit.framework.Assert.fail(Assert.java:47)
| at
| org.tempuri.complex.ComplexDataTypesTest.test1(ComplexDataTypesTest.java:51)
|
| 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:585)
| at junit.framework.TestCase.runTest(TestCase.java:168)
| at junit.framework.TestCase.runBare(TestCase.java:134)
| at junit.framework.TestResult$1.protect(TestResult.java:110)
| at junit.framework.TestResult.runProtected(TestResult.java:128)
| at junit.framework.TestResult.run(TestResult.java:113)
| at junit.framework.TestCase.run(TestCase.java:124)
| at junit.framework.TestSuite.runTest(TestSuite.java:232)
| at junit.framework.TestSuite.run(TestSuite.java:227)
| at
| org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
|
| at
| org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
|
| 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:585)
| at
| org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
|
| at
| org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
iD8DBQFHs7tdgNg6eWEDv1kRAi8+AJ4sZexWhG/4oKrHJXhNyxzTJ/2b8QCeNLjq
w7jrvepnDFJXG5Kh+VYc7vA=
=zZ87
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org