- Timestamp:
- Aug 3, 2016 4:21:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstUtf8.cpp
r62916 r62931 938 938 memcpy(wszOutCopy, aTests[i].pcszOut, aTests[i].cwc * 2); 939 939 } 940 cReplacements = RTUtf16PurgeComplementSet(wszInCopy, aTests[i].pcCpSet, 941 aTests[i].chReplacement); 940 941 RTTestDisableAssertions(hTest); 942 cReplacements = RTUtf16PurgeComplementSet(wszInCopy, aTests[i].pcCpSet, aTests[i].chReplacement); 943 RTTestRestoreAssertions(hTest); 944 942 945 if (cReplacements != aTests[i].cExpected) 943 946 RTTestFailed(hTest, "#%u: expected %lld, actual %lld\n", i, … … 1518 1521 TstRTStrPurgeEncoding(hTest); 1519 1522 /* TstRT*PurgeComplementSet test conditions which assert. */ 1520 bool fAreQuiet = RTAssertAreQuiet(), fMayPanic = RTAssertMayPanic();1521 RTAssertSetQuiet(true);1522 RTAssertSetMayPanic(false);1523 1523 TstRTStrPurgeComplementSet(hTest); 1524 1524 TstRTUtf16PurgeComplementSet(hTest); 1525 RTAssertSetQuiet(fAreQuiet);1526 RTAssertSetMayPanic(fMayPanic);1527 1525 testStrEnd(hTest); 1528 1526 testStrStr(hTest);
Note:
See TracChangeset
for help on using the changeset viewer.