Blocks :
|
Currently, the default set of test cases executed by JavadocTester are executed in the undefined/random order given by getDeclaredMethods. It would be more helpful/convenient to execute the test cases in source-file order, Since javac generates methods in a class file in the same order that they appear in the corresponding source file, we can use the order of methods in the class file as a proxy for the order in the source file.
|