mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 13:48:09 +00:00
Prevent crash in Windows 10 tester for tests with the "Skip" tag.
This commit is contained in:
parent
7793ff2cce
commit
17fd6667e0
1 changed files with 1 additions and 0 deletions
|
|
@ -147,6 +147,7 @@ Platform::String^ NativeTester::testName(Platform::String^ suiteName, int testIn
|
|||
char csuitename[MAX_SUITE_NAME_SIZE] = { 0 };
|
||||
wcstombs(csuitename, suitename.c_str(), sizeof(csuitename));
|
||||
const char *cname = bc_tester_test_name(csuitename, testIndex);
|
||||
if (cname == NULL) return ref new String();
|
||||
wchar_t wcname[MAX_SUITE_NAME_SIZE];
|
||||
mbstowcs(wcname, cname, sizeof(wcname));
|
||||
return ref new String(wcname);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue