This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation with regex in the config.json inputs (#512)
* adding regex type config.json Signed-off-by: JoaoDanielRufino <[email protected]> * fixing textValidatorMock Signed-off-by: JoaoDanielRufino <[email protected]> * adding textValidatorMock to runner_test Signed-off-by: JoaoDanielRufino <[email protected]> * adding textValidatorMock to local/runner_test Signed-off-by: JoaoDanielRufino <[email protected]> * adding tests Signed-off-by: JoaoDanielRufino <[email protected]> * adding validation function to check if there is regex Signed-off-by: JoaoDanielRufino <[email protected]> * adding tests Signed-off-by: JoaoDanielRufino <[email protected]> * checking error on textRegexValidator Signed-off-by: JoaoDanielRufino <[email protected]> * simplifying code Signed-off-by: JoaoDanielRufino <[email protected]> * adding table test Signed-off-by: JoaoDanielRufino <[email protected]> * removing comments Signed-off-by: JoaoDanielRufino <[email protected]> * fixing regex when required is false Signed-off-by: JoaoDanielRufino <[email protected]> * simplifying the code Signed-off-by: JoaoDanielRufino <[email protected]> * simplifying the code Signed-off-by: JoaoDanielRufino <[email protected]> * fixing regex when there is default value Signed-off-by: JoaoDanielRufino <[email protected]> * dynamic parameter to inputValidatorMock Signed-off-by: JoaoDanielRufino <[email protected]>
- Loading branch information
1 parent
5855b88
commit 48f1baa
Showing
6 changed files
with
289 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.