-
Notifications
You must be signed in to change notification settings - Fork 540
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
[Android] Add tests for validators #4556
[Android] Add tests for validators #4556
Conversation
…//github.com/microsoft/AdaptiveCards into user/almedina-ms/IE_AndroidValidationTesting
If this PR has fixes for other issues, can you please reference those in the description here for proper correlation? Thanks |
Ideally try to avoid bundling in different unrelated commits in a single one. And if you do, pls do make sure the PR title/description reflects that :) Eg this looks to be many more fixes and not just new unit tests that have been added. Do ensure the PR title reflects this. |
...ivecards/src/androidTest/java/io/adaptivecards/objectmodel/ChoiceSetInputPropertiesTest.java
Outdated
Show resolved
Hide resolved
...ivecards/src/androidTest/java/io/adaptivecards/objectmodel/ChoiceSetInputPropertiesTest.java
Outdated
Show resolved
Hide resolved
...ivecards/src/androidTest/java/io/adaptivecards/objectmodel/ChoiceSetInputPropertiesTest.java
Outdated
Show resolved
Hide resolved
...ivecards/src/androidTest/java/io/adaptivecards/objectmodel/ChoiceSetInputPropertiesTest.java
Outdated
Show resolved
Hide resolved
...adaptivecards/src/androidTest/java/io/adaptivecards/objectmodel/DateInputPropertiesTest.java
Outdated
Show resolved
Hide resolved
...aptivecards/src/androidTest/java/io/adaptivecards/objectmodel/NumberInputPropertiesTest.java
Outdated
Show resolved
Hide resolved
...e/android/adaptivecards/src/main/java/io/adaptivecards/renderer/input/TimeInputRenderer.java
Show resolved
Hide resolved
...d/adaptivecards/src/main/java/io/adaptivecards/renderer/inputhandler/NumberInputHandler.java
Show resolved
Hide resolved
...d/adaptivecards/src/main/java/io/adaptivecards/renderer/inputhandler/NumberInputHandler.java
Show resolved
Hide resolved
...oid/adaptivecards/src/main/java/io/adaptivecards/renderer/inputhandler/TimeInputHandler.java
Show resolved
Hide resolved
…//github.com/microsoft/AdaptiveCards into user/almedina-ms/IE_AndroidValidationTesting
* Add validation testing for number and text input * Add tests for all input handlers * Update input handlers to fix invalid inputs * Update test files * Update invaluid values for tests * Update invalid cases * Refactor date input tests * Refactor number validation tests * Refactor TimeInput validation tests * Refactor toggle input tests * Refactor choiceSet tests * Fix small stuff * Cleanup some unnnecesary imports * Refactor input text tests * Fix comments Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Related Issue
Fixes #4554
Description
Adds unit tests for all validation types in android.
Fixes in other places:
How Verified
This includes a lot of unit tests so it verifies itself
Microsoft Reviewers: Open in CodeFlow