VirtualBox

Changeset 58062 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Oct 6, 2015 5:53:47 PM (9 years ago)
Author:
vboxsync
Message:

tstRTUri: Actually, there are no UNC tests here. Paths where misleading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTUri.cpp

    r58061 r58062  
    428428    },
    429429    {   /* #13: */
    430         /* .pszPath          =*/ "\\cifsserver\\isos\\files.lst",
    431         /* .pszUri           =*/ "file:///cifsserver%5Cisos%5Cfiles.lst",
    432         /* .uFormat          =*/ URI_FILE_FORMAT_WIN,
    433         /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
    434         /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
    435         /* PathCreateFromUrl =   "\\cifsserver\\isos\\files.lst" - same */
    436         /* UrlCreateFromPath =   "file:///cifsserver/isos/files.lst" - differs */
     430        /* .pszPath          =*/ "\\not-a-cifsserver\\isos\\files.lst",
     431        /* .pszUri           =*/ "file:///not-a-cifsserver%5Cisos%5Cfiles.lst",
     432        /* .uFormat          =*/ URI_FILE_FORMAT_WIN,
     433        /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
     434        /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
     435        /* PathCreateFromUrl =   "\\not-a-cifsserver\\isos\\files.lst" - same */
     436        /* UrlCreateFromPath =   "file:///not-a-cifsserver/isos/files.lst" - differs */
    437437    },
    438438    {   /* #14: */
     
    446446    },
    447447    {   /* #15: */
    448         /* .pszPath          =*/ "\\cifsserver\\isos\\files.lst",
    449         /* .pszUri           =*/ "file:///cifsserver%5Cisos%5Cfiles.lst",
    450         /* .uFormat          =*/ URI_FILE_FORMAT_WIN,
    451         /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
    452         /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
    453         /* PathCreateFromUrl =   "\\cifsserver\\isos\\files.lst" - same */
    454         /* UrlCreateFromPath =   "file:///cifsserver/isos/files.lst" - differs */
     448        /* .pszPath          =*/ "\\not-a-cifsserver-either\\isos\\files.lst",
     449        /* .pszUri           =*/ "file:///not-a-cifsserver-either%5Cisos%5Cfiles.lst",
     450        /* .uFormat          =*/ URI_FILE_FORMAT_WIN,
     451        /* .pszCreatedPath   =*/ NULL,    /* Same as pszPath. */
     452        /* .pszCreatedUri    =*/ NULL,    /* Same as pszUri. */
     453        /* PathCreateFromUrl =   "\\not-a-cifsserver-either\\isos\\files.lst" - same */
     454        /* UrlCreateFromPath =   "file:///not-a-cifsserver-either/isos/files.lst" - differs */
    455455    },
    456456#if 0 /** @todo r=bird: this ain't working right. It's in the wikipedia article on file:// ... */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette