- Timestamp:
- Aug 10, 2020 1:58:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/DragAndDrop/testcase/tstDnDTransferList.cpp
r85660 r85663 126 126 127 127 /* From URI data. */ 128 #ifdef RT_OS_WINDOWS 129 RTStrPrintf(szPathTest, sizeof(szPathTest), "C:/Windows/"); 128 130 const char szURI[] = 129 #ifdef RT_OS_WINDOWS 130 "file:///C:/Windows/System32/Boot/\r\n" 131 "file:///C:/Windows/System/\r\n"; 131 "file:///C:/Windows/System32/Boot/\r\n" 132 "file:///C:/Windows/System/\r\n"; 132 133 #else 133 "file:///bin/\r\n" 134 "file:///usr/bin/\r\n"; 134 RTStrPrintf(szPathTest, sizeof(szPathTest), "/usr/"); 135 const char szURI[] = 136 "file:///usr/local\r\n" 137 "file:///usr/bin/\r\n"; 135 138 #endif 136 139 … … 138 141 DNDTRANSFERLIST_FLAGS_NONE), VINF_SUCCESS); 139 142 RTTEST_CHECK(hTest, DnDTransferListGetRootCount(&list) == 2); 140 RTTEST_CHECK(hTest, RTPathCompare(DnDTransferListGetRootPathAbs(&list), "C:/Windows/") == 0);143 RTTEST_CHECK(hTest, RTPathCompare(DnDTransferListGetRootPathAbs(&list), szPathTest) == 0); 141 144 RTTEST_CHECK_RC(hTest, DnDTransferListGetRootsEx(&list, DNDTRANSFERLISTFMT_NATIVE, "/native/base/path", "\n", &pszBuf, &cbBuf), VINF_SUCCESS); 142 145 RTTestPrintf(hTest, RTTESTLVL_ALWAYS, "Roots (URI, new base):\n%s\n", pszBuf);
Note:
See TracChangeset
for help on using the changeset viewer.