- 
                Notifications
    
You must be signed in to change notification settings  - Fork 3
 
Add Custom States Support (AST-83449, AST-83450) #311
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
Conversation
| 
           
 Great job, no security vulnerabilities found in this Pull Request | 
    
…ically and improve filter retrieval logic
… streamline filter management
…lter initialization and retrieval logic
…ith default filters if custom states retrieval fails
…hod for improved filter management
…ved filter integration
…reshScanGroup method
…state management and filtering
…ate CxToolWindowPanel to reset custom filters
…ass that will manage all the communication with the wrapper and the DynamicState Action
| .map(CustomResultState::getLabel) | ||
| .collect(Collectors.toUnmodifiableSet()); | ||
| 
               | 
          ||
| private static List<CustomStateFilter> customStateFilters; | 
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.
Is there a potential race condition with the static "customStateFilters" variable
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.
No because the plugin is not multithread
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.
Looks wonderful!
| import static com.checkmarx.intellij.ui.utils.Xpath.*; | ||
| 
               | 
          ||
| public class TestGeneral extends BaseUITest { | ||
| List<String> defaultState = List.of("CONFIRMED", "TO_VERIFY", "URGENT", "NOT_EXPLOITABLE", "PROPOSED_NOT_EXPLOITABLE", "IGNORED", "NOT_IGNORED"); | 
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.
we have a test to coverage for the custom states functionality?
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.
Not yet because it's not in deu
…agement - Make it Singleton

By submitting a PR to this repository, you agree to the terms within the Checkmarx Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
References
Testing
Checklist