]> git.saurik.com Git - wxWidgets.git/commitdiff
even more test cases
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Dec 2005 23:54:50 +0000 (23:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Dec 2005 23:54:50 +0000 (23:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/tokenizer.cpp

index 4bb97f3f81762649c8598ed0e0390f4ac4a2f4fe..d5f9a8ff27cd7c9337631c5be6204dedf935fd0a 100644 (file)
@@ -75,6 +75,10 @@ gs_testData[] =
     { _T(""),                   _T(" "),              wxTOKEN_DEFAULT,       0 },
     { _T(""),                   _T(" "),              wxTOKEN_RET_EMPTY,     0 },
     { _T(""),                   _T(" "),              wxTOKEN_RET_EMPTY_ALL, 0 },
+    { _T(":"),                  _T(":"),              wxTOKEN_RET_EMPTY,     1 },
+    { _T(":"),                  _T(":"),              wxTOKEN_RET_EMPTY_ALL, 2 },
+    { _T("::"),                 _T(":"),              wxTOKEN_RET_EMPTY,     1 },
+    { _T("::"),                 _T(":"),              wxTOKEN_RET_EMPTY_ALL, 3 },
 
     { _T("Hello, world"),       _T(" "),              wxTOKEN_DEFAULT,       2 },
     { _T("Hello,   world  "),   _T(" "),              wxTOKEN_DEFAULT,       2 },