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

Added validation for Process Name. #9

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

Taron-art
Copy link
Owner

Added validation for Process Name.

PR Classification

New feature: Added validation logic and tests for process configuration names.

PR Summary

This PR introduces validation logic for process configuration names and updates related tests.

  • ProcessConfigurationRepositoryTests.cs: Added validation logic and new test for invalid process names.
  • MainPageViewModelTests.cs: Added and updated tests to handle invalid and empty process names.
  • ProcessConfiguration: Inherited from ObservableValidator and added validation attribute to the Name property.
  • MainPageViewModel.cs: Included validation checks and messages for invalid process names.
  • Added new localization strings for validation messages in resource files.

@Taron-art Taron-art merged commit 070799c into main Jan 7, 2025
1 check passed
@Taron-art Taron-art deleted the feature/add-validation branch January 7, 2025 17:20
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.

1 participant