tstPath.cpp revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
* InnoTek Portable Runtime Testcase - Test various path functions. * Copyright (C) 2006 InnoTek Systemberatung GmbH * This file is part of VirtualBox Open Source Edition (OSE), as * you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation, * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE * distribution. VirtualBox OSE is distributed in the hope that it will * be useful, but WITHOUT ANY WARRANTY of any kind. * If you received this file as part of a commercial VirtualBox * distribution, then only the terms of your commercial VirtualBox * license agreement apply instead of the previous paragraph. /******************************************************************************* *******************************************************************************/ RTPrintf(
"tstPath: TESTING RTPathAbsEx()\n");
// NULL, NULL, -- assertion in RTStrUtf8ToUcs2 NULL,
"/absolute\\\\../..",
NULL,
"/absolute//../path",
NULL,
"/absolute/../../path",
NULL,
"\\\\server\\../share",
// -- GetFullPathName doesn't remove .. here "\\\\server\\share_as_base",
"/from_root",
"\\\\just_server",
"/from_root",
"\\\\server\\share_as_base",
"relative\\data",
// this is not (and I guess should not be) supported ///@todo "\\\\?\\UNC\\base", "/from_root", - r=bird: negative tests shouldn't fail the testcase!