Changeset 107743 in vbox
- Timestamp:
- Jan 14, 2025 9:52:54 AM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 166851
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstUtf8.cpp
r106061 r107743 1209 1209 size_t cbShort = RTStrCalcLatin1Len(g_szAll); 1210 1210 RTTEST_CHECK(hTest, cbShort == 0); 1211 int rc =RTStrCalcLatin1LenEx(g_szAll, 383, &cch_szAll);1211 RTStrCalcLatin1LenEx(g_szAll, 383, &cch_szAll); 1212 1212 RTTEST_CHECK(hTest, (cch_szAll == 255)); 1213 rc = RTStrCalcLatin1LenEx(g_szAll, RTSTR_MAX, &cch_szAll);1213 int rc = RTStrCalcLatin1LenEx(g_szAll, RTSTR_MAX, &cch_szAll); 1214 1214 RTTEST_CHECK_RC(hTest, rc, VERR_NO_TRANSLATION); 1215 1215 char *psz = NULL; … … 1344 1344 size_t cbShort = RTUtf16CalcLatin1Len(g_wszAll); 1345 1345 RTTEST_CHECK(hTest, cbShort == 0); 1346 int rc =RTUtf16CalcLatin1LenEx(g_wszAll, 255, &cch_szAll);1346 RTUtf16CalcLatin1LenEx(g_wszAll, 255, &cch_szAll); 1347 1347 RTTEST_CHECK(hTest, (cch_szAll == 255)); 1348 rc = RTUtf16CalcLatin1LenEx(g_wszAll, RTSTR_MAX, &cch_szAll);1348 int rc = RTUtf16CalcLatin1LenEx(g_wszAll, RTSTR_MAX, &cch_szAll); 1349 1349 RTTEST_CHECK_RC(hTest, rc, VERR_NO_TRANSLATION); 1350 1350 char *psz = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.