Changeset 57982 in vbox
- Timestamp:
- Oct 1, 2015 11:23:52 AM (9 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/uri.cpp
r57981 r57982 815 815 rc = RTStrCatPEx(&pszTmp, &cbTmp, &pszUri[Parsed.offAuthority], Parsed.cchAuthority); 816 816 } 817 else818 {819 820 }821 817 } 822 818 -
trunk/src/VBox/Runtime/testcase/tstRTUri.cpp
r57981 r57982 544 544 for (size_t i = 0; i < RT_ELEMENTS(g_apCreateFileURIs); ++i) 545 545 { 546 RTTestPrintf(hTest, RTTESTLVL_ ALWAYS, "#%u: Path=%s, URL=%s\n", i, g_apCreateFileURIs[i].pcszPath, g_apCreateFileURIs[i].pcszUri);546 RTTestPrintf(hTest, RTTESTLVL_DEBUG, "#%u: Path=%s, URL=%s\n", i, g_apCreateFileURIs[i].pcszPath, g_apCreateFileURIs[i].pcszUri); 547 547 char szPath[255] = { 0 }; 548 548 DWORD dw = 255; 549 549 PathCreateFromUrl(g_apCreateFileURIs[i].pcszUri, szPath, &dw, NULL); 550 RTTestPrintf(hTest, RTTESTLVL_ ALWAYS, "\tPathCreateFromUrl: %s -> %s\n", g_apCreateFileURIs[i].pcszUri, szPath);550 RTTestPrintf(hTest, RTTESTLVL_DEBUG, "\tPathCreateFromUrl: %s -> %s\n", g_apCreateFileURIs[i].pcszUri, szPath); 551 551 char szURL[255] = { 0 }; 552 552 dw = 255; … … 555 555 dw = 255; 556 556 UrlEscape(szURL, szURLEsc, &dw, URL_ESCAPE_SEGMENT_ONLY); 557 RTTestPrintf(hTest, RTTESTLVL_ ALWAYS, "\tUrlCreateFromPath: %s -> %s\n", g_apCreateFileURIs[i].pcszPath, szURLEsc);557 RTTestPrintf(hTest, RTTESTLVL_DEBUG, "\tUrlCreateFromPath: %s -> %s\n", g_apCreateFileURIs[i].pcszPath, szURLEsc); 558 558 } 559 559 # endif … … 563 563 RTTestISub("RTUriFilePath"); 564 564 for (size_t i = 0; i < RT_ELEMENTS(g_apCreateFileURIs); ++i) 565 tstFilePath(i, 565 tstFilePath(i, g_apCreateFileURIs[i].pcszUri, g_apCreateFileURIs[i].pcszPath, g_apCreateFileURIs[i].uFormat); 566 566 567 567 /* File Uri creation */
Note:
See TracChangeset
for help on using the changeset viewer.