Skip to content
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

Merged
merged 3 commits into from Nov 15, 2019

Conversation

wolfs
Copy link
Member

@wolfs wolfs commented Nov 13, 2019

Smoke test for #11330

Copy link
Member

@lptr lptr left a 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.

Comment on lines 201 to 208
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

Copy link
Member

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?

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 added a name for the when/then methods. Do you think that is enough?

Copy link
Member

@lptr lptr left a comment

Choose a reason for hiding this comment

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

LGTM!

@wolfs wolfs merged commit be2b59e into master Nov 15, 2019
@wolfs wolfs deleted the wolfs/android-incremental-smoke-test branch November 15, 2019 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants