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
|
|
@ -53,6 +53,7 @@ int main(string[] args) {
|
|||
client.add_suite(new Application.ConfigurationTest().get_suite());
|
||||
client.add_suite(new ClientWebViewTest().get_suite());
|
||||
client.add_suite(new Composer.WebViewTest().get_suite());
|
||||
client.add_suite(new Components.ValidatorTest().get_suite());
|
||||
client.add_suite(new Util.Avatar.Test().get_suite());
|
||||
client.add_suite(new Util.Cache.Test().get_suite());
|
||||
client.add_suite(new Util.Email.Test().get_suite());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue