slachiewicz opened a new pull request, #593: URL: https://github.com/apache/maven-ear-plugin/pull/593
Replaces two invoker ITs with unit tests that assert the same behaviour without a Maven build. | Removed IT | Covering test | |---|---| | `descriptor-encoding` (latin-1, utf-8) | `ApplicationXmlWriterEncodingTest`: writes `application.xml` with `ISO-8859-1` and `UTF-8`, checks the XML declaration, the bytes in that charset, and the parsed `description` text | | `filenamemapping-usage-fail` | `EarMojoFileNameMappingTest`: a mojo with the removed `fileNameMapping` set logs both error lines and throws `MojoExecutionException` | Kept: `MEAR-198` (the only IT that loads the plugin with `<extensions>true</extensions>`, which is Maven's packaging/lifecycle handling), and the packaging ITs (`basic`, skinny-wars, includes/excludes, same-artifactId, timestamp, jboss and the rest), which check real EAR contents and manifests. The `encoding` parameter binding from the POM to the writer is no longer exercised end to end. The new tests are in new files because open PRs change `ApplicationXmlWriterTest` and `EarMojoTest`. No production code changed. Counts (read from the build logs): invoker ITs 18 → 16, unit tests 60 → 63, `EarMojoIT` 104 → 104. Full `-Prun-its verify` took 1151 s on master and 1211 s on the branch (one run each on a shared machine, so the difference is noise); both passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
