Add manual Components.Validator::validator method
Support manual validation where needed, add unit tests. This also slightly changes the behaviour of non-required field, since an empty non-required field should be valid.
This commit is contained in:
parent
c9fc877d12
commit
ca6cbecb83
4 changed files with 127 additions and 10 deletions
|
|
@ -84,6 +84,7 @@ geary_test_client_sources = [
|
|||
'client/application/application-configuration-test.vala',
|
||||
'client/components/client-web-view-test.vala',
|
||||
'client/components/client-web-view-test-case.vala',
|
||||
'client/components/components-validator-test.vala',
|
||||
'client/composer/composer-web-view-test.vala',
|
||||
'client/util/util-avatar-test.vala',
|
||||
'client/util/util-cache-test.vala',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue