eclipse-ee4j / jakartaee-tck-tools

Other
8 stars 16 forks source link

Generate JsfClientEjblitejsfTest.java for input JsfClient.java instead of ClientEjblitejsfTest.java which conflicts with input Client.java #78

Closed scottmarlow closed 3 months ago

scottmarlow commented 3 months ago

To address WARNING: TODO: src/main/java/com/sun/ts/tests/ejb30/lite/tx/cm/stateful/webrw/ClientEjbliteservletTest.java was already previously generated which means we aren't handling something correctly. warnings from the OpenRewrite recipe that happens for test packages that have more than one Client*.java file, we should instead use the original test class name when building the new EE test name.

With JPA, I saw ^ for test folders that have more than one Client*.java source file (e.g. Client1.java + Client2.java were both written to the same output Client.java with some residual output it seems from mixing the two input sources).

I'll close this issue soon and open a new one for ^