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

fix(android_parsing): remote parse without overridden testrun listene… #876

Closed

Conversation

matzuk
Copy link
Collaborator

@matzuk matzuk commented Dec 11, 2023

…r if a user forgot to add the correspondent dependency in the project

…r if a user forgot to add the correspondent dependency in the project
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (36a5b8a) 59.30% compared to head (22a646a) 59.30%.

Additional details and impacted files
@@                    Coverage Diff                     @@
##             feature/raw_json_meta_2     #876   +/-   ##
==========================================================
  Coverage                      59.30%   59.30%           
  Complexity                       798      798           
==========================================================
  Files                            214      214           
  Lines                           4443     4443           
  Branches                         709      709           
==========================================================
  Hits                            2635     2635           
  Misses                          1476     1476           
  Partials                         332      332           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -68,7 +78,10 @@ class AmInstrumentTestParser(

val testParserConfiguration = vendorConfiguration.testParserConfiguration
val overrides: Map<String, String> = when {
testParserConfiguration is TestParserConfiguration.RemoteTestParserConfiguration -> testParserConfiguration.instrumentationArgs
testParserConfiguration is TestParserConfiguration.RemoteTestParserConfiguration -> {
if (blockListenerArgumentOverride) testParserConfiguration.instrumentationArgs.filterKeys { it != LISTENER_ARGUMENT }
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 going to filter all listener arguments, not just the one for parsing. It's possible to use lots of listeners at the same and just one of them would be the test parser annotation producer

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added a check for the value (annotation producer)

@matzuk
Copy link
Collaborator Author

matzuk commented Dec 22, 2023

closed prior to #877

@matzuk matzuk closed this Dec 22, 2023
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