Skip to content

Enable Javadoc checks for src/test directories #871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ task allJavadoc(type: Javadoc, group: 'Documentation') {
project(':checker-qual').sourceSets.main.allJava,
project(':checker').sourceSets.main.allJava,
project(':framework').sourceSets.main.allJava,
project(':framework').sourceSets.test.allJava,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great and reveals 14 errors in javadoc!
Should the same be done for :checker?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me! I will udpate the gradle file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also dataflow/src/test, checker/src/testannotations, and checker-util/src/test.
Please also fix the javadoc errors revealed by the new check.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, sounds good.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe framework-test/src/test as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will leave do checker/src/testannotations later in a new PR. Looks like we need to define the source set for testannotations folder.

project(':dataflow').sourceSets.main.allJava,
project(':javacutil').sourceSets.main.allJava,
project(':framework-test').sourceSets.main.allJava,
Expand Down
Loading