extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-12-20 16:34:09 +00:00
parent a67f601b14
commit 8b6d5b1fc3

View File

@ -78,6 +78,7 @@ gs_testData[] =
{ _T("Hello, world"), _T(","), wxTOKEN_DEFAULT , 2 },
{ _T("Hello, world!"), _T(",!"), wxTOKEN_DEFAULT , 2 },
{ _T("Hello,, world!"), _T(",!"), wxTOKEN_DEFAULT , 3 },
{ _T("Hello,, world!"), _T(",!"), wxTOKEN_STRTOK , 2 },
{ _T("Hello, world!"), _T(",!"), wxTOKEN_RET_EMPTY_ALL, 3 },
{ _T("username:password:uid:gid:gecos:home:shell"),
_T(":"), wxTOKEN_DEFAULT , 7 },