Saravanakumar Selvaraj created CAMEL-27137:
----------------------------------------------

             Summary: camel-spring-ws: four WS-Addressing consumer test classes 
do not run, because their names end in Tests
                 Key: CAMEL-27137
                 URL: https://issues.apache.org/jira/browse/CAMEL-27137
             Project: Camel
          Issue Type: Bug
          Components: tests
    Affects Versions: 4.23.0
            Reporter: Saravanakumar Selvaraj
            Assignee: Saravanakumar Selvaraj


Found while fixing CAMEL-27034.

The surefire configuration in parent/pom.xml includes only test classes whose 
file names end in Test.java. Four test classes of camel-spring-ws have names 
that end in Tests, so a build does not run them. They are in the package 
org.apache.camel.component.spring.ws.addressing:

- ConsumerWSANewChannelParamsActionTests
- ConsumerWSANewChannelParamsToTests
- ConsumerWSASameChannelParamsActionTests
- ConsumerWSASameChannelParamsToTests

Each of them inherits 12 tests from AbstractConsumerTests, of which 4 are 
disabled. So 32 tests do not run.

They test the WS-Addressing Action header of the response and of a SOAP fault 
that the consumer returns. The routes set the outputAction option, the 
faultAction option, both or neither. Two classes use the endpoint mapping type 
action, and two use the type to. For each type, one class sends the request 
without a ReplyTo address, and one with a ReplyTo address.

All 32 tests pass when Maven runs the four classes by name.

Proposed change: rename the four classes so that their names end in Test.

_Claude Code on behalf of saravanakumar1987_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to