mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 04:58:14 +00:00
proxy_config_tester.c: fix test "SIP URI normalization"
This commit is contained in:
parent
f574e10a87
commit
c302fb92e9
1 changed files with 2 additions and 1 deletions
|
|
@ -101,11 +101,12 @@ static void phone_normalization_with_dial_escape_plus(void){
|
|||
|
||||
|
||||
static void sip_uri_normalization(void) {
|
||||
char* expected ="sip:%d9%a1@linphone.org";
|
||||
BC_ASSERT_PTR_NULL(linphone_proxy_config_normalize_sip_uri(NULL, "test"));
|
||||
SIP_URI_CHECK("test@linphone.org", "sip:test@linphone.org");
|
||||
SIP_URI_CHECK("test@linphone.org;transport=tls", "sip:test@linphone.org;transport=tls");
|
||||
|
||||
SIP_URI_CHECK("١", "sip:%%d9%%a1@linphone.org"); //test that no more invalid write are done (valgrind only)
|
||||
SIP_URI_CHECK("١", expected); //test that no more invalid memory writes are made (valgrind only)
|
||||
}
|
||||
|
||||
test_t proxy_config_tests[] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue