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

Filter generated sources in Android Studio projects #1123

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

EgorkaKulikov
Copy link
Collaborator

Description

We should not suggest generated sources folders to user to generate tests in. We filter them.
In standard projects we use flag isForGeneratedSources. Android Studio does not support this project model, so we can only apply filtering on keywords in the path.

Fixes # (692)

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual Scenario

Check that there are no generated sources folders in the combobox for test source roots on UI before the first test generated and after it also (when generated sources folder have already aprreared).

@EgorkaKulikov EgorkaKulikov merged commit 134f6c7 into main Oct 10, 2022
@EgorkaKulikov EgorkaKulikov deleted the egor/android_studio_source_roots branch October 10, 2022 12:29
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this pull request Oct 17, 2022
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this pull request Oct 17, 2022
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.

2 participants