As working on AXIS2-4170, I found there is no WSDL test files for a JUnit
test.
The test class source code is:
axis2/java/core/trunk/modules/kernel/test/org/apache/axis2/description/WSDLToAllServicesBuilderTest.java
The testing WSDL files the code is looking for are:
target/test-classes/wsdl/EchoServiceWsdl11.wsdl
target/test-classes/wsdl/EchoServiceWsdl20.wsdl
But I did not find them after running a 'mvn clean install'. By the way, as
target directory is dynamically deleted/created, the WSDL resource files are
supposed to be copied from kernel/test-resources/wsdl where I didn't find
EchoServiceWsdl11.wsdl or EchoServiceWsdl20.wsdl either.
The reason that the Unit Test still works is because it checks to see if the
WSDL files are available before performing test. Because the WSDL files are
missing, the code actually jumps from beginning to end without performing
real test.
Can anybody let me know if this is done in purpose (due to some limitation,
etc?) or it is a bug that has just been ignored?
Thanks!
Ping