[
https://issues.apache.org/jira/browse/WSCOMMONS-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charith Dhanushka Wickramarachchi updated WSCOMMONS-494:
--------------------------------------------------------
Attachment: 18-08-2009-sms-transport-test.patch
Hi,
The above patch will fix the issue.Now it will success in -Dtest=fasle /
-Dmaven.test.skip=true
I'm normally use mvn clean install -Dtest=false to skip the tests.But As i
understand the maven antRun plugin threat mvn clean install -Dtest=false and
-Dmaven.test.skip=true in a different way.
# When we use the -Dtest=false to skip the tests it will do not compile test
classes and also does not run the ant tasks that we have defined in the
"test-compile " phase.(So in this case -Dtest=false will be successful)
# But when we use the -Dmaven.test.skip=ture to skip the tests it does not
compile the test cases as above But the different is it will execute the ant
tasks that are defined in the "test-compile" phase (Thats why it gaves a error
since it will try to copy a class file that is not created)
NOTE that the patch will contain the services.xml , MANIFEST.MF , axis2.xml
too since it seems that they are not added to the trunk which were included in
the previous patch(that files are need to for the test cases).
thanks,
Charith
> Unit Test for the SMSTransport
> ------------------------------
>
> Key: WSCOMMONS-494
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-494
> Project: WS-Commons
> Issue Type: Improvement
> Environment: any
> Reporter: Charith Dhanushka Wickramarachchi
> Priority: Minor
> Attachments: 11-08-2009-sms-transport-test.patch,
> 17-08-2009-sms-transport-test.patch, 18-08-2009-sms-transport-test.patch,
> org.apache.axis2.transport.sms.SMSTransportTest.txt
>
>
> The SMS Transport currently does not have any test cases.I'll provide a patch
> that will add the Unit test for the SMS transport
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.