Package ee.jakarta.tck.data.metadata
Class CollectMetaData
java.lang.Object
ee.jakarta.tck.data.metadata.CollectMetaData
This is a utility class that will analyze the TCK and generate documentation for the following information:
1. The name of tests that are disabled (due to challenges)
2. The number of tests that need to pass for certification
3. Expected JUnit output
4. Expected Signature test output
This will be run automatically each time the tck-dist module is built.
Meaning that we don't need to update our doc each time we add/remove/disable a test.
Files are output to:
${project.basedir}/src/main/asciidoc/generated/
File names are:
expected-output.adoc
expected-sig-output.adoc
runtime-tests.adoc
successful-challenges.adoc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA data structure that represents data associated with test methods. -
Method Summary
-
Method Details
-
main
Main method, expects three inputs: 0. boolean - enable debug 1. path to TCK jar - used to collect metadata 2. output directory - where generated pages should be output- Parameters:
args- - the arguments needed to run- Throws:
Exception- - thrown if any documentation cannot be generated
-