Repository navigation
Android test variant support - #194
Merged
Sheng Chen (jdneo) merged 3 commits intoSep 13, 2024
Merged
Sheng Chen (jdneo) merged 3 commits into
Sheng Chen (jdneo) merged 3 commits into
Conversation
Contributor
Author
|
This has been branched from android-support branch. I will rebase once #173 is merged. |
Changes: - Updated AndroidUtils to populate all fields individually so failure in retrieval of one property won't lead to the collapse of whole source set. - Added android resource directories only if the variant is not a unit test - Updated GradleApiConnectorTest#testAndroidSourceSets to consider the all the test variants and their dependencies - Addressed checkstyle issues
Tanish Ranjan (Tanish-Ranjan)
force-pushed
the
feat/android-support-tests
branch
from
September 5, 2024 16:46
4542f3b to
47dfa24
Compare
Tanish Ranjan (Tanish-Ranjan)
marked this pull request as ready for review
September 5, 2024 19:14
Contributor
Author
|
Tested the changes with default test project by integrating with vscode-gradle extension. The test variants were retrieved successfully. |
Sheng Chen (jdneo)
self-requested a review
September 6, 2024 01:52
Changes: - AndroidUtils#convertVariantToGradleSourceSet now returns a list of source sets rather than a single source set. - AndroidUtils#addTests now returns a list of test source sets.
Sheng Chen (jdneo)
approved these changes
Sep 13, 2024
Member
|
Thank you for your contribution! Tanish Ranjan (@Tanish-Ranjan) |
Tanish Ranjan (Tanish-Ranjan)
deleted the
feat/android-support-tests
branch
September 13, 2024 04:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addressing #183, this PR discovers all the test variants and adds them to the source sets.