add more tests for wxFileName::Normalize(DOTS) (see #10960)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-07-03 22:07:22 +00:00
parent 0d50ce70b1
commit 60c4147a07

View File

@@ -315,6 +315,8 @@ void FileNameTestCase::TestNormalize()
// test wxPATH_NORM_DOTS
{ "a/.././b/c/../../", wxPATH_NORM_DOTS, "", wxPATH_UNIX },
{ "./", wxPATH_NORM_DOTS, "", wxPATH_UNIX },
{ "b/../", wxPATH_NORM_DOTS, "", wxPATH_UNIX },
// test wxPATH_NORM_TILDE: notice that ~ is only interpreted specially
// when it is the first character in the file name