]> git.saurik.com Git - wxWidgets.git/commitdiff
added a couple more wxTOKEN_RET_DELIMS tests
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Dec 2005 00:01:11 +0000 (00:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 24 Dec 2005 00:01:11 +0000 (00:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/tokenizer.cpp

index d5f9a8ff27cd7c9337631c5be6204dedf935fd0a..17e9a911ea7872891b4a74f161dd9dcfeb60b054 100644 (file)
@@ -75,9 +75,12 @@ gs_testData[] =
     { _T(""),                   _T(" "),              wxTOKEN_DEFAULT,       0 },
     { _T(""),                   _T(" "),              wxTOKEN_RET_EMPTY,     0 },
     { _T(""),                   _T(" "),              wxTOKEN_RET_EMPTY_ALL, 0 },
+    { _T(""),                   _T(" "),              wxTOKEN_RET_DELIMS,    0 },
     { _T(":"),                  _T(":"),              wxTOKEN_RET_EMPTY,     1 },
+    { _T(":"),                  _T(":"),              wxTOKEN_RET_DELIMS,    1 },
     { _T(":"),                  _T(":"),              wxTOKEN_RET_EMPTY_ALL, 2 },
     { _T("::"),                 _T(":"),              wxTOKEN_RET_EMPTY,     1 },
+    { _T("::"),                 _T(":"),              wxTOKEN_RET_DELIMS,    1 },
     { _T("::"),                 _T(":"),              wxTOKEN_RET_EMPTY_ALL, 3 },
 
     { _T("Hello, world"),       _T(" "),              wxTOKEN_DEFAULT,       2 },