From: Vadim Zeitlin Date: Sat, 24 Dec 2005 00:01:11 +0000 (+0000) Subject: added a couple more wxTOKEN_RET_DELIMS tests X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/505a8c2ced8eec9aa2d4b0856a27c62ff4330e37?ds=inline added a couple more wxTOKEN_RET_DELIMS tests git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/strings/tokenizer.cpp b/tests/strings/tokenizer.cpp index d5f9a8ff27..17e9a911ea 100644 --- a/tests/strings/tokenizer.cpp +++ b/tests/strings/tokenizer.cpp @@ -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 },