forked from mirrors/linphone-iphone
Fix quality report test order
This commit is contained in:
parent
b7c6893d27
commit
d76cb1342b
1 changed files with 3 additions and 1 deletions
|
|
@ -80,11 +80,13 @@ char * on_report_send_verify_metrics(const reporting_content_metrics_t *metrics,
|
|||
CU_ASSERT_PTR_NOT_NULL(body=__strstr(body, "SessionDesc:"));
|
||||
CU_ASSERT_PTR_NOT_NULL(body=__strstr(body, "JitterBuffer:"));
|
||||
CU_ASSERT_PTR_NOT_NULL(body=__strstr(body, "PacketLoss:"));
|
||||
CU_ASSERT_PTR_NOT_NULL(body=__strstr(body, "QualityEst:"));
|
||||
}
|
||||
if (metrics->rtcp_sr_count+metrics->rtcp_xr_count>0){
|
||||
CU_ASSERT_PTR_NOT_NULL(body=__strstr(body, "Delay:"));
|
||||
}
|
||||
if (metrics->rtcp_xr_count){
|
||||
CU_ASSERT_PTR_NOT_NULL(body=__strstr(body, "QualityEst:"));
|
||||
}
|
||||
|
||||
return body;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue