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
Add Android smoke test for incremental Java compilation #11359
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left a comment.
when: | ||
writeActivity(library, libPackage, libraryActivity, true) | ||
result = runner('build', '-x', 'lint').build() | ||
|
||
then: | ||
result.task(':library:compileReleaseJavaWithJavac').outcome == TaskOutcome.SUCCESS | ||
result.task(':app:compileReleaseJavaWithJavac').outcome == TaskOutcome.SUCCESS | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to somehow document that this is about incremental build. Add a comment? Move it to a separate test method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a name for the when
/then
methods. Do you think that is enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Smoke test for #11330