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

use interface for interactive parsers + implement in ValidatorTool #2822

Merged
merged 13 commits into from May 31, 2022

Conversation

luelista
Copy link
Contributor

@luelista luelista commented May 24, 2022

use interface for interactive parsers + implement in ValidatorTool

Issue: #2341

Description

  • Use interface for interactive parsers (this allows us to automatically detect them from the subcommands, and makes a separate map unnecessary)
  • Add the interactive dialog for the ValidatorTool
  • Add tests for the dialog

Screenshots or gifs

package de.maibornwolff.codecharta.tools.interactiveparser

interface InteractiveParser {
fun callInteractive()
Copy link
Collaborator

Choose a reason for hiding this comment

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

The name callInteractive can create a bit of confusion. It can seem as if it's an alternative to the method call that's needed for the CLI which includes the logic of the parsers. This method however has nothing to do with the logic. I suggest mainWithInteractiveDialog or executeWithInteractiveDialog

@IhsenBouallegue
Copy link
Collaborator

IhsenBouallegue commented May 25, 2022

Can't merge because test coverage is under 80%

@IhsenBouallegue
Copy link
Collaborator

Please add a changelog entry

@sonarcloud
Copy link

sonarcloud bot commented May 31, 2022

[CodeCharta Analysis] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

84.8% 84.8% Coverage
0.0% 0.0% Duplication

@IhsenBouallegue IhsenBouallegue merged commit 5acb19e into main May 31, 2022
@IhsenBouallegue IhsenBouallegue deleted the feat/2341/implement-check-interactive branch May 31, 2022 12:20
@sonarcloud
Copy link

sonarcloud bot commented May 31, 2022

[CodeCharta Visualization] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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