简体   繁体   中英

Where is Flink's test classes' API documentation (javadoc/scaladoc)

I've noticed, that the Flink's official javadoc lacks the documentation of classes defined in tests. For example, the great ProcessFunctionTestHarnesses mentioned in the official testing guide isn't a part of javadoc.

Browsing the source code on GitHub it's clear, that the test catalogues contain well-documented source code, eg the ProcessFunctionTestHarnesses . But apparently it isn't built or linked anywhere. Or am I missing something?

Only classes that are annotated with annotations that are themselves annotated with @Documented are included in the javadocs. So that means that only classes annotated with

  • Experimental
  • Internal
  • Public
  • PublicEvolving
  • VisibleForTesting

are included.

The test harnesses are not considered part of Flink's API, and thus are subject to being changed at any time.

BTW, the checkstyle configuration used in the project ensures that all classes have proper javadocs, regardless.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM