Make avatar code a bit more robust in the face of bad input
Don't try to dray null initials, actually return null per API contract when no initials can be found, don't include non-alphanumerics in the initials. Add test case.
This commit is contained in:
parent
4e484e237d
commit
76ee07595d
4 changed files with 79 additions and 23 deletions
|
|
@ -43,6 +43,7 @@ int main(string[] args) {
|
|||
client.add_suite(new ClientWebViewTest().get_suite());
|
||||
client.add_suite(new ComposerWebViewTest().get_suite());
|
||||
client.add_suite(new ConfigurationTest().get_suite());
|
||||
client.add_suite(new Util.Avatar.Test().get_suite());
|
||||
|
||||
TestSuite js = new TestSuite("js");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue