One can more flexibly test the generated source code if you can invoke an arbitrary method after the generated source has been compiled. This Jira issue is used to add this feature to the CTF plus one example of its use. This feature is also added to the MarshallingTest test type.
This feature has NOT been added to the generation-only or schema test types, as it doesn't seem very useful for those cases.
Note – the samples that make use of the new feature may or may not work immediately after delivering this code change. Those changes may depend on unrelated changes in my SVN stream that will be delivered ASAP. (That is, fixes to DateTime validation.) If the test
../src/tests/xml/MasterTestSuite/sourcegenerator/Facets/DateTimeNoTimeZone/
fails immediately after I deliver this fix, ignore this failure for now. This failure will be fixed when I deliver the corrections to DateTIme handling and validation, which are trickier than I expected!
One can more flexibly test the generated source code if you can invoke an arbitrary method after the generated source has been compiled. This Jira issue is used to add this feature to the CTF plus one example of its use. This feature is also added to the MarshallingTest test type.
This feature has NOT been added to the generation-only or schema test types, as it doesn't seem very useful for those cases.
Note – the samples that make use of the new feature may or may not work immediately after delivering this code change. Those changes may depend on unrelated changes in my SVN stream that will be delivered ASAP. (That is, fixes to DateTime validation.) If the test
../src/tests/xml/MasterTestSuite/sourcegenerator/Facets/DateTimeNoTimeZone/
fails immediately after I deliver this fix, ignore this failure for now. This failure will be fixed when I deliver the corrections to DateTIme handling and validation, which are trickier than I expected!